- 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
- Add a
topproperty toSidebar - Tweak the default
primaryColorvalue inMacosThemeData.
- Fix
MacosAppdocumentation
- Fixes issue with error thrown when toolbar actions are modified programmatically #239
- 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.
- Minor improvements to
README.md
- 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.
- 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
- Minor documentation fix for [MacosColorWell]
- First stable release 🎉
- New widget:
MacosTimePicker(textual style only!)
- New widget:
MacosColorWell
- 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
- Minor style fixes for
MacosTextField
- New widget:
MacosDatePicker
- Move theme classes to their own files in the
/themedirectory
- Switch over to
flutter_lints
- Improve visual design of
MacosPopupButtonandMacosPulldownButton, to better match the styling and translucency effect of Apple design. - Remove unnecessary properties of
MacosPopupButton
- New widget:
MacosPulldownButton, which can be used as a dropdown for selecting actions with either text or an icon as its title.
- Fix
paddingonMacosAlertDialogwhensupressis null #188
- Remove
MacosScrollbarfromContentAreawidget (fixes #170) - Remove useless bundled fonts (fixes #187)
- Allow users to customize the mouse cursor for sidebar items (fixes #181)
- Fix active sidebar item icon color (fixes #190)
- Added
paddingproperty toMacosIconButtonandMacosIconButtonTheme.
- Adds missing
mergemethods toMacosThemeDataand widgetThemeDataclasses, making it possible to use them properly with any number of user-provided custom properties.
- Fixes
MacosThemeDatato properly apply user-definedpushButtonTheme,helpButtonTheme, andtooltipThemeproperties.
- 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
- Reverts bundling the
native_context_menuplugin per #179
- New Widget:
MacosPopupButton
- 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.
- Added support for transparent sidebar. Please note that changes to
MainFlutterWindow.swiftare required for this to work. (#175)
- Update
native_context_menudependency
- 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
- Update to
PushButton:- Added
isSecondaryproperty
- Added
- Nearly all
MouseRegions have been updated to useSystemMouseCursors.basicin order to more closely adhere to Apple norms mouseCursorproperties have been added to most buttons
- 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()
- Added native_context_menu as a dependency for native context menus!
- Updates to
MacosListTile:- Added
leadingWhitespaceproperty - Added
onClickcallback - Added
onLongPresscallback - Added
mouseCursorproperty
- Added
- Fix the outer border of
MacosSheetnot having a border radius
- New Widget:
MacoSheet - New Widget:
MacosListTile
- Fixed bug where cursor would not change caret location on mouse click
- Upgraded various
copyWithfunctions - Added
==andhashCodeto various classes
- Add generics support to
MacosRadioButton- Thank you Sacha Arbonel!
- Add note in docs that a
Builderis required for manual sidebar toggling to work.
- Fix docs for
PushButtonThemeData - Update
dart_code_metricsdependency
- Adds:
MacosWindow - Improved
MacosScaffold
- Chore: Remove box shadows from
MacosIconButton
- Fix
builderproperty inMacosAppnever being used (#148)
- Improved
MacosAlertDialogdesign - Added
showMacosAlertDialogto display aMacosAlertDialogwith standard macOS animations and behaviour.
- Fixes maximum height issue with
MacosAlertDialog
- Adds
suppresswidget parameter toMacosAlertDialog
- Adds
MacosAlertDialog
- Add
bottomItem toSidebar
- Update
MacosColors - Fix
Labelalignment
- Adds the
SidebarItemwidget - Fixes an alignment issue with
MacosTextField
- Add
MacosPrefixto widgets/classes with names that overlap with the material/cupertino libraries:TextField->MacosTextFieldScaffold->MacosTextFieldIconButton->MacosIconButtonBackButton->MacosBackButtonScrollbar->MacosScrollbarCheckbox->MacosCheckboxRadioButton->MacosRadioButtonTooltip->MacosTooltipTypography->MacosTypographySwitch->MacosSwitch
- Fix textfield prefix icon alignment
- Add
canvasColortoMacosThemeData.Scaffoldnow uses this as its default background color.
- Add new
MacosColorandMacosColorsclasses - Rename
colors.darttomacos_dynamic_color
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
- New widget:
BackButton,IconButton - Add
VisualDensitytoMacosThemeData - Ensure localizations get returned in
MacosApp
- Add
startWidthproperties toResizablePaneandSidebar - Implement
Scrollbar - Implement
MacosScrollBehavior
- Fix
TextFieldon Flutter v2.2.0
- Updated the theme api
- Properties in
MacosThemeDataand inTypographycan't be null - Renamed
DynamicColorXtoMacosDynamicColor - Added the method
lerpon all theme datas.
- Properties in
- Implemented
Label(#61) - Capacity Indicator now works as expected (#49)
- Clear button is now aligned to text (#82)
- pub.dev release
- Documentation for
ScaffoldScope
- Implement
Tooltip - Add mouse cursors to help button, push button and
TextField
- Implement
TextField
- Revamp
Scaffold#26
CapacityIndicatorcolors can now be set on its constructor- Accessibility support for most of the widgets
- Diagnostics Properties (dev tools) for most of the widgets
- Implemented
HelpButton - Fixed #49
- Implemented
Checkbox - Implemented
RadioButton
- Update
Typographywith correct letter spacing and font weights - Add
brightnessOfandmaybeBrightnessOffunctions toMacosTheme
- Adds the
PushButtonwidget along withPushButtonThemeandPushButtonThemeData - Removes the
heightproperty fromTypography'sTextStyles - Updates
Typography.headline's weight and letter spacing
- 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
- Implemented
Checkbox - Implemented
ProgressCircleandProgressBar - Implemented the
Switchwidget
Scaffoldwidget- Fix
Typographyso that text color is shown appropriately based on Brightness
- Project creation
MacosAppwidget- Basic
Typography - Basic theming via
MacosThemeandStyle