Skip to content

Releases: bdlukaa/fluent_ui

Flutter 3.10.0

10 May 18:15
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.4.2...v4.6.0

NumberBox and stuff

30 Mar 23:41
Compare
Choose a tag to compare
  • Add NumberBox widget. (#560 #771 #789)

  • Add support for routerConfig to FluentApp.router (#781)

  • Add source code for Show InfoBar in example application. (#785)

  • Make color optional in FluentApp.router. (#782)

  • Fix TabView scroll (the item count was not correctly set) and now the scroll event is not propagated to the parent. (#772)

  • Do not calculate the position of the flyout if the position parameter is provided. (#764)

  • Add source code for Surfaces/CommandBar in example application (#766)

  • Do not enforce a max height on PaneItem (#762)

  • Add Greek localization (#761)

  • Add NavigationState.compactOverlayOpen (#758):

    final key = GlobalKey<NavigationState>();
    
    NavigationView(key: key);
    
    final isCompactModeOpen = key.currentState?.compactOverlayOpen ?? false;
  • TabView lazy loading (#751)

  • Added Bangla localization (#786)

  • Correctly position the flyouts and tooltips on a multi navigator context (#780)

  • Allow all kinds of menu flyout widgets on DropDownButton (#775)

  • Added CommandBarCard.borderColor

What's Changed

  • Added support for greek language by @Pana-g in #761
  • Add source code for Surfaces/CommandBar in example application. by @Tsuzat in #766
  • Do not calculate the position of the flyout if this one is provided as a parameter by @WinXaito in #768
  • Fix tab view wheel scroll by @WinXaito in #772
  • Make FluentApp.routers color property optional by @jtdLab in #783
  • Add source code snippet for Show InfoBar Button. by @zsakvo in #785
  • added bangla translation by @Ahnaf16 in #786
  • Add support for routerConfig to FluentApp.router by @jtdLab in #784
  • Add NumberBox Widget by @WinXaito in #771
  • Flyout and tooltip position by @bdlukaa in #780
  • Some updates by @bdlukaa in #790
  • Let numberbox to accept double value by @WinXaito in #789
  • Fix NumberBox value update with double and check if the result of the math expression is valid by @WinXaito in #792
  • Load the example app with a bigger size for have a open navigation pane and do not center the window by @WinXaito in #793

New Contributors

Full Changelog: v4.4.1...v4.4.2

v4.4.1

07 Mar 22:16
Compare
Choose a tag to compare
  • Dynamically adding/removing items in NavigationPane (#744)

  • Fix example application was showing window icons twice on transparency change and maximizing

  • Add TextFormBox.initialValue (#749)

  • Add PaneItem.enabled (#748)

  • Add Thai localization (#750)

  • FocusTraversalGroup is no longer added above paneBodyBuilder (#700)

  • BREAKING NavigationView.paneBodyBuilder now takes two arguments (#700)
    Before:

    NavigationView(
      paneBodyBuilder: (child) {
        return child;
      }
    ),

    Now:

    NavigationView(
      paneBodyBuilder: (item, child) {
        return child;
      }
    )
  • Use correct height and padding on TextBox (#754)

  • Updated TextBox cursor to match the native implementation (#754)

  • TextBox state is now updated correctly when focused (#754)

What's Changed

New Contributors

Full Changelog: v4.4.0...v4.4.1

v4.4.0

24 Feb 15:30
Compare
Choose a tag to compare

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

v4.2.0

27 Jan 13:53
2c74716
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.1.4...v4.2.0

4.1.4

13 Jan 23:44
Compare
Choose a tag to compare

What's Changed

  • FlyoutListTile can be used outside of a flyout (#650)
  • Add uk localization (#647)
  • Add swedish localization (#655)
  • Add key parameter to NavigationPaneItem and all its instances (#656)
  • Ensure fontFamily is inherit in some widgets (654)
  • Add Flyout.navigatorKey (#538)
  • Add Card.borderColor (#643)
  • Avoid overflow in DatePicker and TimePicker popup (#663)
  • Ensure sticky indicator is mounted before updating (#670)
  • Date and Time pickers popup are now positioned correctly in RTL mode (#675)
  • It's now possible to navigate through AutoSuggestBox items by long pressing arrow up and down keys
  • Do not clear focus scope after selecting an item in AutoSuggestBox (#671)
  • AutoSuggestBox's trailingIcon now comes after the close button
  • MINOR BREAK TextBox.clearGlobalKey was remove, since it was not used
  • Add AutoSuggestBox.unfocusedColor and TextFormBox.unfocusedColor
  • Implement displayInfoBar, which shows an info bar as an overlay (#673)
  • Implement ThemeData.extensions (#674)

New Contributors

Full Changelog: v4.1.2...v4.1.4

4.1.2

12 Dec 00:24
Compare
Choose a tag to compare
  • PageHeader now gives appropriate bounds to its commandBar (#642)
  • Ensure NavigationView body state is not lost when resizing window
  • Ensure TabView' tabs' state are not lost when changing selected tab (#607)
  • Do not block text field tap (#343)
  • Do not duplicate trailing in FlyoutContent (#487)

What's Changed

New Contributors

Full Changelog: v4.1.1...v4.1.2

4.1.1

08 Dec 14:15
Compare
Choose a tag to compare
  • Ensure acrylic is updated only if it's mounted (#634)
  • Ensure the provided startYear and endYear in DateTime are used properly (#627)
  • Fix left arrow key not moving to parent item on collapsed TreeViewItem (#632)
  • Added NavigationPane.scrollBehavior (#640)
  • Added CommandBarCard.borderRadius (#641)
  • Ensure combobox scroll controller has a client attached before using it (#620)
  • Correctly use TextFormBox.initialValue
  • Added TreeViewState.toggleItem, which toggles the item expanded state (#493)
  • Ensure NavigationView pane items are brought into view when selected
  • Fixed TreeView selection state behavior for items that are not expanded (#578)
  • Added support for Romanian language (#602)
  • Ensure the body state in NavigationView is properly preserved (#607)
  • BREAKING Renamed ExpanderState.open to ExpanderState.isExpanded
  • The same identifier is no longer used for every Expander (#596)
  • Ensure the TabView scroll controller has clients before using it (#615)
  • TabView now waits a time to resize after closed (#617)
  • ToggleButton border width is uniform (#610)

What's Changed

New Contributors

Full Changelog: v4.0.3...v4.1.1

v4.0.3

22 Oct 14:16
Compare
Choose a tag to compare
  • NavigationView scrollbar can now be dragged (#472)
  • PaneItemHeader can now be used inside a PaneItemExpander (#575)
  • InfoBadge no longer overflows when transitioning from compact mode to open mode in NavigationView (#588)

Full Changelog: v4.0.2...v4.0.3

4.0.2

13 Oct 11:33
Compare
Choose a tag to compare
  • Add NavigationView.paneBodyBuilder for customization of widget built for body of pane. (#548)
  • Fixed NavigationAppBar unnecessary leading icon when no pane is provided in NavigationView (#551)
  • Added NavigationView.minimalPaneOpen and, with it, the possibility to open minimal pane programatically (#564)
  • Assign an index to pane item expanders (#566)
  • Update NavigationView compact mode transition
  • TreeView updates (#555):
    • BREAKING Added TreeViewItemInvokeReason parameter to TreeView.onItemInvoked and TreeViewItem.onInvoked.
    • Fix clearing out selection state on initial state build in certain cases for a single selection mode tree view.
    • Fix single selection mode to properly deselect hidden child items when selecting a collapsed parent item.
    • Add TreeView.includePartiallySelectedItems so that items who have children with a mixed selection state will be included in the onSelectionChanged callback.
    • Add TreeView.deselectParentWhenChildrenDeselected optional behavior so that parent items can remain selected when all of their children are deselected.
    • Add TreeViewItem.setSelectionStateForMultiSelectionMode helper method and [TreeViewItem].selectedItems extension method, to make it easier for application code to programmatically change selection state of items in a multi-selection mode tree view.
  • Added support for Uzbek language

What's Changed

New Contributors

Full Changelog: v4.0.1...v4.0.2