v4.4.0
4.4.0
TabView
macos shortcuts (#728)TabView
focus on children now works properly (#648)TabView
colors now follow the Win UI 3 theme resources (#730)- Add myanmar localization (#682)
- Fix
ContentDialog
copy code (#735) TextBox
rework:- BREAKING Removed
.initialValue
. UseTextEditingController.text
instead - BREAKING Removed
.header
and.headerStyle
. UseInfoLabel
instead - BREAKING Removed
.outsidePrefix
,.outsidePrefixMode
,.outsideSuffix
,.outsideSuffixMode
- BREAKING Removed
.minHeight
and.iconButtonThemeData
AutoSuggestBox
popup is now part of the text box tap region (#698)FluentTextSelectionToolbar
now follows global typography (#712)
- BREAKING Removed
- Attach flyout to target at build time (#743)
4.3.0
-
Correctly calculate the padding around the flyout on automatic mode
-
Possibility to supply transparent colors to the barrier (#702)
-
Correctly assign the current pane mode to
PaneItemExpander
(#707) -
showFlyout.dismissOnPointerMoveAway
now takes the whole flyout box into consideration -
MINOR BREAKING Replaced
ContentManager
andContentSizeInfo
withFlyout
Before:final size = ContentSizeInfo.of(context).size;
Now:
final size = Flyout.of(context).size;
With it, it's also possible to have multiple info about the current open flyout. Sub-menus also have their own flyout instance. To close the current flyout, use
Flyout.of(context).close();
-
Added option to open
DropDownButton
flyout programatically (#723)final dropdownKey = GlobalKey<DropDownButtonState>(); DropDownButton( key: dropdownKey, ... ); dropdownKey.currentState?.open(...); // opens the flyout final isOpen = dropdownKey.currentState?.isOpen ?? false; // checks if the flyout is open
-
BREAKING Removed deprecated memebers:
DropDownButtonItem
andDropDownButton.buttonStyle
(#724) -
ThemeData
is depreacted. UseFluentThemeData
instead (#722) -
BREAKING
MenuFlyoutSubItem.items
now requires a function
Before:MenuFlyoutSubItem( items: [...] ),
After:
MenuFlyoutSubItem( items: (context) { // You can call Flyout.of(context).close(), for example return [...] }, )
What's Changed
- Flyouts Update by @bdlukaa in #714
- DropDownButton updates by @bdlukaa in #724
- Fixed Typos by @TheMR-777 in #726
- Rename
ThemeData
toFluentThemeData
by @bdlukaa in #725 - Added support for Myanmar language. by @thitlwincoder in #682
- Tabview updates by @bdlukaa in #730
- Fix ContentDialog copy code by @TahaTesser in #735
TextBox
rework by @bdlukaa in #738
New Contributors
- @TheMR-777 made their first contribution in #726
- @thitlwincoder made their first contribution in #682
- @TahaTesser made their first contribution in #735
Full Changelog: v4.2.0...v4.4.0