Skip to content

v4.4.0

Compare
Choose a tag to compare
@bdlukaa bdlukaa released this 24 Feb 15:30
· 610 commits to master since this release

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. Use TextEditingController.text instead
    • BREAKING Removed .header and .headerStyle. Use InfoLabel 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)
  • 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 and ContentSizeInfo with Flyout
    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 and DropDownButton.buttonStyle (#724)

  • ThemeData is depreacted. Use FluentThemeData 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

New Contributors

Full Changelog: v4.2.0...v4.4.0