macos_window_utils.dart
macos_window_utils.dart copied to clipboard
macos_window_utils is a Flutter package that provides a set of methods for modifying the NSWindow of a Flutter application on macOS.
Add methods for the ~~[`miniaturize`](https://developer.apple.com/documentation/appkit/nswindow/1419426-miniaturize)~~*, [`deminiaturize`](https://developer.apple.com/documentation/appkit/nswindow/1419334-deminiaturize), [`performMiniaturize`](https://developer.apple.com/documentation/appkit/nswindow/1419749-performminiaturize), and [`isMiniaturized`](https://developer.apple.com/documentation/appkit/nswindow/1419699-isminiaturized) methods of the [`NSWindow`](https://developer.apple.com/documentation/appkit/nswindow). None of those methods require any arguments (except for a sender, which may be `nil`), and are...
Running the example in this repo renders an empty window on macOS 12.7.1 and 10.15.7 (both running on Intel) but works as expected on an Apple Silicon machine with macOS...
Use `BlockingToolbar` instead of `NSToolbar` to prevent maxmizing the window on double clicking a Flutter button. See https://github.com/macosui/macos_ui/issues/308
By default, a window is resizable. I'd like to display a window at a set width, that the user isn't allowed to change. I'd like the height to respect a...
When setting the window size, background, etc, upon launch, there's a visual glitch because the window begins with the standard Flutter configuration and then switches to the desired configuration when...
This library has `TitlebarSafeArea`, which pushes content down below the title bar. I'm displaying tabs in the title bar area and I need the tabs to avoid the traffic lights,...
As far as I can tell, based on the README documentation, all window configurations go through imperative static methods. Consider offering a widget for most/all of these configurations. You don't...
`WindowManipulator` is completely based on static methods. This seems to create at least three limitations: Developers can't use Dart's built-in builder syntax: ```dart WindowManipulator ..makeTitlebarTransparent() ..enableFullSizeContentView() ..etc ``` It seems...
**Original issue:** https://github.com/alexmercerind/flutter_acrylic/issues/75
Add methods to modify and retrieve the [`minSize`](https://developer.apple.com/documentation/appkit/nswindow/1419206-minsize) and [`maxSize`](https://developer.apple.com/documentation/appkit/nswindow/1419595-maxsize) properties of the [`NSWindow`](https://developer.apple.com/documentation/appkit/nswindow). If this is your first time contributing to a macOS plugin, feel free to use the...