| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2023-07-19 | 4.0 kB | |
| Version 2.0.0 source code.tar.gz | 2023-07-19 | 493.1 kB | |
| Version 2.0.0 source code.zip | 2023-07-19 | 653.1 kB | |
| Totals: 3 Items | 1.2 MB | 0 | |
What's Changed
🚨 Breaking Changes 🚨
macos_uihas been migrated to utilize macos_window_utils under the hood, which provides the following benefits:- Window animation smoothness is drastically improved, particularly when miniaturizing and deminiaturizing the application window.
- Some visual artifacts that occurred while the window was being (de)miniaturized (such as the application's shadow going missing) no longer occur.
- The sidebar remains transparent when the app's brightness setting mismatches the OS setting.
- Wallpaper tinting is now supported.
-
To migrate an existing application, please refer to the “Modern window look” section in the README.
-
Support for Flutter 3.10 and Dart 3
PushButtonhas been updated to support theControlSizeenum.- The
buttonSizeproperty has been changed tocontrolSize. - Buttons can now be any of the following sizes: mini, small, regular, or large.
PushButton.isSecondaryis nowPushButton.secondary.MacosAlertDialog:primaryButtonandsecondaryButtonare now declared to be of typePushButton.RelevanceIndicatorhas been deprecatedMacosTypographywhite and black are now factory constructors calleddarkOpaque()andlightOpaque()to reflect Apple's naming conventions.
✨ New ✨
MacosSwitchhas been completely rewritten and now matches the native macOS switch in appearance and behavior.- A
ControlSizeenum has been introduced, which will allow widgets to more closely match their native counterparts. MacosTypography- You can now call
MacosTypography.of(context)as a shorthand for retrieving the typography used in yourMacosTheme. MacosFontWeightallows using Apple-specific font weights likew510,w590, andw860.- Localization
- Added support for
weekdayAbbreviationsandmonthAbbreviationstoMacosDatePicker. - Added support for
dateFormattoMacosDatePicker. - Added support for
startWeekOnMondaytoMacosDatePicker.
🔄 Updated 🔄
MacosColorhas been updated with some previously missing elements.PushButton- Now uses the correct
bodytext style instead of the incorrectheadline PushButton's secondary and disabled colors more closely match their native counterparts.MacosCheckboxappearance more closely matches its native counterpart.MacosAlertDialogprimaryButtonandsecondaryButtonare now required to havecontrolSizes ofControlSize.large.- Docs now suggest that
appIconshould be of size 64x64. Toolbarnow uses the correcttitle3text style instead of the incorrectheadlineMacosThemesets the global typography more efficientlyHelpButtonnow sizes itself according to specificationResizablePanecan now disallow the usage of its internal scrollbar via theReziablePane.noScrollBarconstructor.
🛠️ Fixed 🛠️
- Clicking on the calendar elements in
MacosDatePickerhas better UX ToolBars in use where aSideBaris not present will now have their title's avoid the traffic lights (native window controls).MacosTypography.darkOpaque()andMacosTypography.lightOpaque()now conform to specification by usingMacosColors.labelColor- Ensure builds targeting web do not utilize any
macos_window_utilscode - Ensure builds targeting web are themed correctly
New Contributors
- @rxlabz made their first contribution in https://github.com/macosui/macos_ui/pull/398
- @eliasyishak made their first contribution in https://github.com/macosui/macos_ui/pull/402
- @Maksimka101 made their first contribution in https://github.com/macosui/macos_ui/pull/400
- @the-best-is-best made their first contribution in https://github.com/macosui/macos_ui/pull/426
- @bernaferrari made their first contribution in https://github.com/macosui/macos_ui/pull/419
Full Changelog: https://github.com/macosui/macos_ui/compare/1.12.2...2.0.0