Releases: macosui/macos_window_utils.dart
Releases · macosui/macos_window_utils.dart
v1.8.0
1.8.0
- Add
miniaturizeWindowmethod (thanks @parkerhutchinson).
v1.7.0
1.7.0
- Add
MacosToolbarPassthroughto allow for the creation of so-called “passthrough views” on the toolbar that relay mouse events to the Flutter application (thanks to @Andre-lbc and @adiletcool).
v1.5.0
- Add the following window methods:
preventWindowClosureallowWindowClosureisWindowClosureAllowedcloseWindowperformClose
v1.4.0
- Add methods to retrieve or manipulate the window’s size and position.
v1.3.0
- Add
overrideStandardWindowButtonPositionandgetStandardWindowButtonPositiontoWindowManipulatorto allow getting and setting the position of standard window buttons.
v1.2.0
- Fix typo in README.
- Add
isMainWindowgetter to WindowManipulator.
v1.1.2
- Make macos_window_utils work without modifications to
MainFlutterWindow.swift.
v1.1.1
- Hotfix: Fix accidental breaking change in directory structure in 1.1.0.
v1.1.0 (retracted)
- Add an abstract
NSWindowDelegatethat can be used to listen to events provided by NSWindowDelegate such as window resizing, moving, exposing, and minimizing. The following methods are currently supported:- Managing Sheets
windowWillBeginSheetwindowDidEndSheet
- Sizing Windows
windowWillResizewindowDidResizewindowWillStartLiveResizewindowDidEndLiveResize
- Minimizing Windows
windowWillMiniaturizewindowDidMiniaturizewindowDidDeminiaturize
- Zooming Window
windowWillUseStandardFramewindowShouldZoom
- Managing Full-Screen Presentation
windowWillEnterFullScreenwindowDidEnterFullScreenwindowWillExitFullScreenwindowDidExitFullScreen
- Moving Windows
windowWillMovewindowDidMovewindowDidChangeScreenwindowDidChangeScreenProfilewindowDidChangeBackingProperties
- Closing Windows
windowShouldClosewindowWillClose
- Managing Key Status
windowDidBecomeKeywindowDidResignKey
- Managing Main Status
windowDidBecomeMainwindowDidResignMain
- Exposing Windows
windowDidExpose
- Managing Occlusion State
windowDidChangeOcclusionState
- Managing Presentation in Version Browsers
windowWillEnterVersionBrowserwindowDidEnterVersionBrowserwindowWillExitVersionBrowserwindowDidExitVersionBrowser
- Managing Sheets
- Add an
NSAppPresentationOptionsclass that allows the window's fullscreen presentation options to be modified.
v1.0.1
- Add
setLevelmethod. - Add the following
order*methods:orderOutorderBackorderFrontorderFrontRegardless
- Add methods to modify the window's
styleMaskproperty. - Improve documentation.