macos_ui 2.0.0-beta.3 
macos_ui: ^2.0.0-beta.3 copied to clipboard
Flutter widgets and themes implementing the current macOS design language.
2.0.0-beta.3 #
π οΈ Fixed π οΈ
- Better UX of the click on the calendar elements in 
MacosDatePicker 
2.0.0-beta.2 #
β¨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. 
π Updated π
- Some previously missing elements of the 
MacosColorclass have been added. 
2.0.0-beta.1 #
π¨ Breaking Changes π¨
- Migrate 
macos_uito macos_window_utils, 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.
 
 - Support Flutter 3.10 and Dart 3
 
To migrate an existing application, please refer to the βModern window lookβ section in the README.
1.12.5 #
- Fixed a bug where the 
Sidebar.keyparameter wasn't used, which caused certain layouts to be unachievable. 
1.12.4 #
- Default the 
_selectedDaystate variable to be 1 when selecting the previous/next month from widget to ensure new date is valid for_formatAsDateTime()method (https://github.com/flutter/flutter/issues/123669 & https://github.com/macosui/macos_ui/pull/402) 
1.12.2 #
- Fixed a bug where clicking on a overflowed toolbar item with a navigation callback wouldn't work (#346).
 
1.12.1+1 #
- Fixed a typo in the December abbreviation displayed in the 
MacosDatePicker. 
1.12.1 #
- Fix SidebarItem's leading icons not respecting the theme's primary color
 
1.12.0 #
β¨ New widget: SliverToolBar
1.11.1 #
- Fixed an issue where the 
MacosSearchFieldwould not perform an action when an item was selected. 
1.11.0 #
- π¨ Breaking Changes π¨
 ResizablePanecan now be vertically resizedResizablePane.startWidthhas been changed toResizablePane.startSizeResizablePane.minWidthhas been changed toResizablePane.minSizeResizablePane.maxWidthhas been changed toResizablePane.maxSize
1.10.0 #
π¨ Breaking Changes π¨
MacosScrollbarhas been completely overhauled and now resembles the native macOS scrollbar in appearance and behavior. Previously, it wrapped the material scrollbar, and now creates a custom scrollbar that extendsRawScrollbar. This resulted in the removal of several material-based properties for the scrollbar, andContentArea.builderis once again aScrollableWidgetBuilder! π- Removed material-based scrollbar properties from 
MacosScrollbarThemeData 
Other changes:
- Added implementation of 
MacosDisclosureButton - Fixed a bug where 
CapacityIndicatoronly worked correctly for splits = 10 
1.9.1 #
- Adds optional 
initialDatetoMacosDatePicker 
1.9.0 #
- Implement 
MacosSlider 
1.8.0 #
π¨ Breaking Changes π¨
ContentArea.builderhas been changed from aScrollableWidgetBuilderto aWidgetBuilderdue to changes in Flutter 3.7. TheMacosScrollbarwidget needs to undergo radical changes in order to achieve the native macOS scrollbar look and feel in the future, so this will be revisited at that time.
Other changes:
- Per Flutter 3.7.0: Replace deprecated 
MacosTextField.toolbarOptionswithMacosTextField.contextMenuBuilder - Ensure the color panel releases when it is closed
 - Avoid render overflows in the 
Sidebarwhen the window height is resized below a certain threshold (#325) - Update 
MacosScrollbar.thumbVisibilitywith the latest change introduced in Flutter 3.7 - Update 
README.mdto address issues #325 & #332 
1.7.6 #
- Fixed a bug where 
MacosPopupButtonwould report that aScrollControllerwas not attached to any views 
1.7.5 #
- Addressed Flutter 3.3 analyzer warnings
 
1.7.4 #
- Added 
backgroundColortoMacosSheet 
1.7.3 #
- Fixed an issue where the 
titleproperty ofTitleBardid not apply a fittingDefaultTextStyle 
1.7.2 #
- Added padding as parameter to MacosTabView constructor.
 
1.7.1 #
- Fixed an issue where end sidebar window breakpoints were not respected
 
1.7.0 #
- β¨ New
MacosImageIconwidget. Identical to theImageIconfromflutter/widgets.dartexcept it will obey aMacosIconThemeDatainstead of anIconThemeDataSidebarItemSizeenum, which determines the height of sidebar items and the maximum size theirleadingwidgets.SidebarItemnow accepts an optionaltrailingwidget.
 - π Updated
SidebarItemsnow supportsSidebarItemSizevia theitemSizeproperty, which defaults toSidebarItemSize.medium. The widget has been updated to manage the item's height, the maximum size of the item's leading widget, and the font size of the item's label widget according to the givenSidebarItemSize.- The example app has been tweaked to use some icons from the SF Symbols 4 Beta via the new 
MacosImageIconwidget. 
 
1.6.0 #
- New widgets: 
MacosTabViewandMacosTabView - BREAKING CHANGE: 
Label.yAxishas been renamed toLabel.crossAxisAlignment - BREAKING CHANGE: 
TooltipThemeandTooltipThemeDatahave been renamed toMacosTooltipThemeandMacosTooltipThemeData 
1.5.1 #
- Correct the placement of the leading widget in disclosure sidebar items #268
 - Improve the sizing of the disclosure item indicator
 
1.5.0 #
- Adds 
endSidebartoMacosWindow 
1.4.1+1 #
- Update 
pubspec.yamlwithrepositoryand newhomepagefield. 
1.4.1 #
- Fixes an issue where if the app was displayed in full screen mode, an opaque empty toolbar would appear at the top #249
 
1.4.0 #
- Migration to Flutter 3.0
- Minimum dart sdk version is now 2.17.0
 - Use new super parameters feature
 - Update to 
flutter_lints: ^2.0.1with subsequent fixes MacosScrollbarAPI more closely matches its material counterpart
 - Update 
MacosColorto more closely match theColorclass- Adds 
MacosColor.fromARGBconstructor - Adds 
MacosColor.fromRGBOconstructor - Adds 
alphaBlendfunction - Adds 
getAlphaFromOpacityfunction 
 - Adds 
 
1.3.0 #
- Add a 
topproperty toSidebar - Tweak the default 
primaryColorvalue inMacosThemeData. 
1.2.1+1 #
- Fix 
MacosAppdocumentation 
1.2.0 #
- Improved styling for 
MacosTooltip:- Better color and shadows.
 - Displays left-aligned, below the mouse cursor.
 
 - New widget: 
ToolBarDividerthat can be used as a divider (vertical/horizontal line) in theToolBar#231. - All toolbar widgets can now receive a 
tooltipMessageproperty to display aMacosTooltipwhen user hovers over them #232. 
1.1.0+1 #
- Minor improvements to 
README.md 
1.1.0 #
- New functionality for 
MacosSearchField- Shows a list of search results in an overlay below the field
 - A result can be selected and customized.
 
 - A 
MacosOverlayFilterwidget can now be used to apply the blurry "frosted glass" effect on surfaces. - New widget: 
CustomToolbarItemthat enables any widget to be used in theToolbar. 
1.0.1 #
- Improvements to the graphical 
MacosTimePicker- Better color gradient on the border
 - Better inner shadow
 - Minor size adjustments
 - API improvements
 
 - Throw an exception if 
MacosColorWellis clicked on a non-macOS platform 
1.0.0+1 #
- Minor documentation fix for [MacosColorWell]
 
1.0.0 #
- First stable release π
 
0.16.0 #
- New widget: 
MacosTimePicker(textual style only!) 
0.15.0 #
- New widget: 
MacosColorWell 
0.14.0 #
- New widget: 
ToolBar, which can be used to create a toolbar at the top of theMacosScaffold. Toolbar items includeToolBarIconButton,ToolBarPulldownButton, andToolBarSpacerwidgets. - New widget: 
MacosSearchField, which creates a macOS-style search field. - Breaking change: the title bar (
TitleBar) should now be set via thetitlebarproperty ofMacosWindow(was previously a property ofMacosScaffold). If you are using a title bar in your app, please note a small change you would need to make in yourmacos/Runner/MainFlutterWindow.swiftfile, described in the "Modern window look" section of the README file. - Fix the graphical version of 
MacosDatePickerhaving an incorrect current day text color in light theme 
0.13.1 #
- Minor style fixes for 
MacosTextField 
0.13.0 #
- New widget: 
MacosDatePicker 
0.12.4+3 #
- Move theme classes to their own files in the 
/themedirectory 
0.12.4+2 #
- Switch over to 
flutter_lints 
0.12.4+1 #
- Improve visual design of 
MacosPopupButtonandMacosPulldownButton, to better match the styling and translucency effect of Apple design. - Remove unnecessary properties of 
MacosPopupButton 
0.12.4 #
- New widget: 
MacosPulldownButton, which can be used as a dropdown for selecting actions with either text or an icon as its title. 
0.12.3 #
0.12.2+2 #
- Added 
paddingproperty toMacosIconButtonandMacosIconButtonTheme. 
0.12.2+1 #
- Adds missing 
mergemethods toMacosThemeDataand widgetThemeDataclasses, making it possible to use them properly with any number of user-provided custom properties. 
0.12.2 #
- Fixes 
MacosThemeDatato properly apply user-definedpushButtonTheme,helpButtonTheme, andtooltipThemeproperties. 
0.12.1 #
- Sidebar and ResizablePane more precisely track cursor location
 - Sidebar can now be closed by dragging below its minWidth
 - Sidebar can now be configured to snap into place when dragged near its startWidth
 
0.12.0 #
- New Widget: 
MacosPopupButton 
0.10.2 #
- Updates to 
MacosIconButtonandMacosBackButton:- Added a hover effect when mouse moves over the buttons (#168)
 - Added 
hoverColorproperty. - Default shape is now 
BoxShape.rectanglewith border radius, as it seems to be the most used in macOS design. 
 
0.10.1 #
- Added support for transparent sidebar. Please note that changes to 
MainFlutterWindow.swiftare required for this to work. (#175) 
0.10.0+1 #
- Update 
native_context_menudependency 
0.10.0 #
- New widget - 
MacosIcon!MacosIconis identical to regular icons, with the exception that it respects aMacosTheme. Also includes corresponding theme classes MacosThemeDatanow sets a global, configurableiconThemeforMacosIcons
0.9.3 #
- Update to 
PushButton:- Added 
isSecondaryproperty 
 - Added 
 
0.9.2 #
- Nearly all 
MouseRegions have been updated to useSystemMouseCursors.basicin order to more closely adhere to Apple norms mouseCursorproperties have been added to most buttons
0.9.1 #
- Added top-level theming for 
MacosIconButton- Introduces the 
MacosIconButtonThemeInheritedTheme and theMacosIconButtonThemeDatatheme class 
 - Introduces the 
 - Updates 
MacosThemeDataandMacosIconButtonto use the newMacosIconButtonThemeData - Removes an unnecessary setting of VisualDensity from 
MacosThemeData.dark() 
0.9.0 #
- Added native_context_menu as a dependency for native context menus!
 
0.8.2 #
- Updates to 
MacosListTile:- Added 
leadingWhitespaceproperty - Added 
onClickcallback - Added 
onLongPresscallback - Added 
mouseCursorproperty 
 - Added 
 
0.8.1 #
- Fix the outer border of 
MacosSheetnot having a border radius 
0.8.0 #
- New Widget: 
MacoSheet - New Widget: 
MacosListTile 
0.7.3 #
- Fixed bug where cursor would not change caret location on mouse click
 
0.7.2 #
- Upgraded various 
copyWithfunctions - Added 
==andhashCodeto various classes 
0.7.1 #
- Add generics support to 
MacosRadioButton- Thank you, Sacha Arbonel! 
0.7.0+2 #
- Add note in docs that a 
Builderis required for manual sidebar toggling to work. 
0.7.0+1 #
- Fix docs for 
PushButtonThemeData - Update 
dart_code_metricsdependency 
0.7.0 #
- Adds: 
MacosWindow - Improved 
MacosScaffold 
0.6.2 #
- Chore: Remove box shadows from 
MacosIconButton 
0.6.0 #
- Improved 
MacosAlertDialogdesign - Added 
showMacosAlertDialogto display aMacosAlertDialogwith standard macOS animations and behaviour. 
0.5.2 #
- Fixes maximum height issue with 
MacosAlertDialog 
0.5.1 #
- Adds 
suppresswidget parameter toMacosAlertDialog 
0.5.0 #
- Adds 
MacosAlertDialog 
0.4.2 #
- Add 
bottomItem toSidebar 
0.4.1 #
- Update 
MacosColors - Fix 
Labelalignment 
0.4.0 #
- Adds the 
SidebarItemwidget - Fixes an alignment issue with 
MacosTextField 
0.3.0 #
- Add 
MacosPrefixto widgets/classes with names that overlap with the material/cupertino libraries:TextField->MacosTextFieldScaffold->MacosTextFieldIconButton->MacosIconButtonBackButton->MacosBackButtonScrollbar->MacosScrollbarCheckbox->MacosCheckboxRadioButton->MacosRadioButtonTooltip->MacosTooltipTypography->MacosTypographySwitch->MacosSwitch
 
0.2.4 #
- Fix text field prefix icon alignment
 
0.2.3 #
- Add 
canvasColortoMacosThemeData.Scaffoldnow uses this as its default background color. 
0.2.2 #
- Add new 
MacosColorandMacosColorsclasses - Rename 
colors.darttomacos_dynamic_color 
0.2.1 #
IconButtonupdates:- The 
colorproperty is nowbackgroundColor - The widget now takes a 
Widget iconrather thanIconData iconDatafor better control over widget properties - Deprecate and remove internal 
foregroundColorvalue 
- The 
 
0.2.0 #
- New widget: 
BackButton,IconButton - Add 
VisualDensitytoMacosThemeData - Ensure localizations get returned in 
MacosApp 
0.1.4 #
- Add 
startWidthproperties toResizablePaneandSidebar - Implement 
Scrollbar - Implement 
MacosScrollBehavior 
0.1.3 #
- Fix 
TextFieldon Flutter v2.2.0 
0.1.2 #
- Updated the theme api
- Properties in 
MacosThemeDataand inTypographycan't be null - Renamed 
DynamicColorXtoMacosDynamicColor - Added the method 
lerpon all theme data classes. 
 - Properties in 
 
0.1.1 #
0.1.0 #
- pub.flutter-io.cn release
 
0.0.13 #
- Documentation for 
ScaffoldScope 
0.0.12 #
- Implement 
Tooltip - Add mouse cursors to help button, push button and 
TextField 
0.0.11 #
- Implement 
TextField 
0.0.9+1 #
CapacityIndicatorcolors can now be set on its constructor- Accessibility support for most of the widgets
 - Diagnostics Properties (dev tools) for most of the widgets
 
0.0.7 #
- Implemented 
Checkbox - Implemented 
RadioButton 
0.0.6 #
- Update 
Typographywith correct letter spacing and font weights - Add 
brightnessOfandmaybeBrightnessOffunctions toMacosTheme 
0.0.5 #
- Adds the 
PushButtonwidget along withPushButtonThemeandPushButtonThemeData - Removes the 
heightproperty fromTypography'sTextStyles - Updates 
Typography.headline's weight and letter spacing 
0.0.4 #
- Major theme refactor that more closely resembles flutter/material and flutter/cupertino
- The 
Styleclass is nowMacosThemeData MacosThemeis now aStatelessWidgetthat returns a private_InheritedMacosTheme. The staticMacosTheme.of(context)is now defined here.MacosAppnow takes athemeanddarkThemerather thanstyleanddarkStyle. Additionally, there are minor changes to the wayMacosAppis built that more closely resemble howMaterialAppis built.
 - The 
 
0.0.3 #
- Implemented 
Checkbox - Implemented 
ProgressCircleandProgressBar - Implemented the 
Switchwidget 
0.0.2 #
Scaffoldwidget- Fix 
Typographyso that text color is shown appropriately based on Brightness 
0.0.1 #
- Project creation
MacosAppwidget- Basic 
Typography - Basic theming via 
MacosThemeandStyle 
 



