PackageTrack
Sign in Get early access

macos_window_utils

macos_window_utils is a Flutter package that provides a set of methods for modifying the NSWindow of a Flutter application on macOS.

1.9.1 65K downloads/mo #1321 most downloaded on pub.dev Adrian-Samoticha/macos_window_utils.dart

What this package is like to depend on

Last release 7 months ago

05 Jan 2026

Release timing varies

gaps range from 1 weeks to 9 months

Nearly every release is documented

notes for 23 of 23 stable releases

1 version withdrawn

withdrawn after publishing

4 years old

24 releases · first in 2022

1 release in the last 12 months

see the full history below

Release timeline

24 releases · Dec 2022 to Jan 2026
2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 24
  1. 1.9.1 05 Jan 2026
    Release notes
    • Add identifier to DefaultToolbar to fix assertion failure on macOS 10.15 and 12.x (thanks to @cbenhagen).
    Open source →
  2. 1.9.0 21 Aug 2025
    Release notes
    • Add setWindowMinSize and setWindowMaxSize methods to WindowManipulator to allow setting the minimum and maximum window size (thanks to @defuncart).
    Open source →
  3. 1.8.5 21 Aug 2025
    Release notes
    • Prevent _titlebarHeight from being set to a negative value when drag resizing the window (thanks to @CodeEagle).
    Open source →
  4. 1.8.4 17 Jun 2025
    Release notes
    • Migrate away from deprecated interfaces.
    • Set Flutter version constraint to ">=3.27.0".
    Open source →
  5. 1.8.3 17 Jun 2025
    Release notes
    • Undo the migration away from deprecated interfaces, as it caused incompatibilities with older Flutter versions.
    Open source →
  6. 1.8.2 06 Jun 2025
    Release notes
    • Add support for Swift Package Manager. (Thanks to @EchoEllet!)
    • Migrate away from deprecated interfaces.
    • Add missing documentation to WindowManipulator.updateToolbarPassthroughView and WindowManipulator.removeToolbarPassthroughView.
    Open source →
  7. 1.8.1 22 May 2025
    Release notes
    • Provide support for older Swift compiler versions.
    Open source →
  8. 1.8.0 21 May 2025
    Release notes

    1.8.0

    Open source →
    Release notes
    Open source →
  9. 1.7.1 30 Mar 2025
    Release notes
    • Fix nil being found when unwrapping an Optional value when reset is called before start in MainFlutterWindowManipulator.swift.
    Open source →
  10. 1.7.0 22 Mar 2025
    Release notes

    1.7.0

    • Add MacosToolbarPassthrough to 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).
    Open source →
    Release notes
    • Add MacosToolbarPassthrough to 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).
    Open source →
  11. 1.6.1 13 Nov 2024
    Release notes
    • Add instructions on how to setup macos_window_utils for macOS Monterey and earlier versions.
    Open source →
  12. 1.6.0 31 Oct 2024
    Release notes
    • Add support for a blocking toolbar, that is, a special kind of toolbar that blocks double clicks from the user and allows for UI elements to be placed inside a blocked area (thanks to @cbenhagen and @Andre-lbc).
    Open source →
  13. 1.5.0 18 Feb 2024
    Release notes
    • Add the following window methods:
      • preventWindowClosure
      • allowWindowClosure
      • isWindowClosureAllowed
      • closeWindow
      • performClose
    Open source →
    Release notes
    • Add the following window methods:
      • preventWindowClosure
      • allowWindowClosure
      • isWindowClosureAllowed
      • closeWindow
      • performClose
    Open source →
  14. 1.4.0 27 Sep 2023
    Release notes
    • Add methods to retrieve or manipulate the window’s size and position.
    Open source →
    Release notes
    • Add methods to retrieve or manipulate the window’s size and position.
    Open source →
  15. 1.3.0 05 Sep 2023
    Release notes
    • Add overrideStandardWindowButtonPosition and getStandardWindowButtonPosition to WindowManipulator to allow getting and setting the position of standard window buttons.
    Open source →
    Release notes
    • Add overrideStandardWindowButtonPosition and getStandardWindowButtonPosition to WindowManipulator to allow getting and setting the position of standard window buttons.
    Open source →
  16. 1.2.0 09 Aug 2023
    Release notes
    • Fix typo in README.
    • Add isMainWindow getter to WindowManipulator.
    Open source →
    Release notes
    • Fix typo in README.
    • Add isMainWindow getter to WindowManipulator.
    Open source →
  17. 1.1.3 27 May 2023
    Release notes
    • Fix multiple FlutterViewControllers being created, which prevented the apps from exiting properly on Flutter 3.10.
    Open source →
  18. 1.1.2 22 Mar 2023
    Release notes
    • Make macos_window_utils work without modifications to MainFlutterWindow.swift.
    Open source →
    Release notes
    • Make macos_window_utils work without modifications to MainFlutterWindow.swift.
    Open source →
  19. 1.1.1 01 Mar 2023
    Release notes
    • Hotfix: Fix accidental breaking change in directory structure in 1.1.0.
    Open source →
    Release notes
    • Hotfix: Fix accidental breaking change in directory structure in 1.1.0.
    Open source →
  20. 1.1.0 28 Feb 2023 withdrawn
    Release notes
    • Add an abstract NSWindowDelegate that 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
        • windowWillBeginSheet
        • windowDidEndSheet
      • Sizing Windows
        • windowWillResize
        • windowDidResize
        • windowWillStartLiveResize
        • windowDidEndLiveResize
      • Minimizing Windows
        • windowWillMiniaturize
        • windowDidMiniaturize
        • windowDidDeminiaturize
      • Zooming Window
        • windowWillUseStandardFrame
        • windowShouldZoom
      • Managing Full-Screen Presentation
        • windowWillEnterFullScreen
        • windowDidEnterFullScreen
        • windowWillExitFullScreen
        • windowDidExitFullScreen
      • Moving Windows
        • windowWillMove
        • windowDidMove
        • windowDidChangeScreen
        • windowDidChangeScreenProfile
        • windowDidChangeBackingProperties
      • Closing Windows
        • windowShouldClose
        • windowWillClose
      • Managing Key Status
        • windowDidBecomeKey
        • windowDidResignKey
      • Managing Main Status
        • windowDidBecomeMain
        • windowDidResignMain
      • Exposing Windows
        • windowDidExpose
      • Managing Occlusion State
        • windowDidChangeOcclusionState
      • Managing Presentation in Version Browsers
        • windowWillEnterVersionBrowser
        • windowDidEnterVersionBrowser
        • windowWillExitVersionBrowser
        • windowDidExitVersionBrowser
    • Add an NSAppPresentationOptions class that allows the window's fullscreen presentation options to be modified.
    Open source →
    Release notes
    • Add an abstract NSWindowDelegate that 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
        • windowWillBeginSheet
        • windowDidEndSheet
      • Sizing Windows
        • windowWillResize
        • windowDidResize
        • windowWillStartLiveResize
        • windowDidEndLiveResize
      • Minimizing Windows
        • windowWillMiniaturize
        • windowDidMiniaturize
        • windowDidDeminiaturize
      • Zooming Window
        • windowWillUseStandardFrame
        • windowShouldZoom
      • Managing Full-Screen Presentation
        • windowWillEnterFullScreen
        • windowDidEnterFullScreen
        • windowWillExitFullScreen
        • windowDidExitFullScreen
      • Moving Windows
        • windowWillMove
        • windowDidMove
        • windowDidChangeScreen
        • windowDidChangeScreenProfile
        • windowDidChangeBackingProperties
      • Closing Windows
        • windowShouldClose
        • windowWillClose
      • Managing Key Status
        • windowDidBecomeKey
        • windowDidResignKey
      • Managing Main Status
        • windowDidBecomeMain
        • windowDidResignMain
      • Exposing Windows
        • windowDidExpose
      • Managing Occlusion State
        • windowDidChangeOcclusionState
      • Managing Presentation in Version Browsers
        • windowWillEnterVersionBrowser
        • windowDidEnterVersionBrowser
        • windowWillExitVersionBrowser
        • windowDidExitVersionBrowser
    • Add an NSAppPresentationOptions class that allows the window's fullscreen presentation options to be modified.
    Open source →
  21. 1.0.2 27 Jan 2023
    Release notes
    • Fix incompatibility with Flutter 3.7.0.
    Open source →
  22. 1.0.1 11 Jan 2023
    Release notes
    • Add setLevel method.
    • Add the following order* methods:
      • orderOut
      • orderBack
      • orderFront
      • orderFrontRegardless
    • Add methods to modify the window's styleMask property.
    • Improve documentation.
    Open source →
    Release notes
    • Add setLevel method.
    • Add the following order* methods:
      • orderOut
      • orderBack
      • orderFront
      • orderFrontRegardless
    • Add methods to modify the window's styleMask property.
    • Improve documentation.
    Open source →
  23. 1.0.0 27 Dec 2022
    Release notes
    • Initial version.
    Open source →
  24. 1.0.0+1 06 Jan 2023
    Release notes
    • Improve “Getting started” section in the project's readme.
    • Improve documentation formatting.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive