fluent_ui

Implements Microsoft's WinUI3 in Flutter.

BSD-3-CLAUSE License

Stars
2.9K
Committers
98

Bot releases are hidden (Show)

fluent_ui -

Published by bdlukaa over 3 years ago

  • Option to set a default font family on the theme data (ThemeData.fontFamily)
  • indicatorBuilder is correctly applied to the automatic display mode in NavigationView
  • An overlay is open when the toggle button is pressed on the compact display mode (#43)
fluent_ui - Theme update

Published by bdlukaa over 3 years ago

  • BREAKING CHANGES: Reworked the theme api (#39):
    • Removed the theme extension (context.theme). Use FluentTheme.of(context) instead

    • ButtonState is now a class that can receive a value. It now allows lerping between values, making AnimatedFluentTheme possible.

      Here's an example of how to migrate your code:

      Before: cursor: (_) => SystemMouseCursors.click,
      Now: cursor: ButtonState.all(SystemMouseCursors.click),

    • All theme datas and AccentColor have now a lerp method, in order to make AnimatedFluentTheme possible.

    • Implemented AnimatedFluentTheme, in order to replace AnimateContainers all around the library

    • Dedicated theme for each theme data (#37):

      • IconTheme
      • ButtonTheme
      • RadioButtonTheme
      • CheckboxTheme
      • FocusTheme
      • SplitButtonTheme
      • ToggleButtonTheme
      • ToggleSwitchTheme
      • NavigationPaneTheme
      • InfoBarTheme
      • TooltipTheme
      • DividerTheme
      • ScrollbarTheme
    • DividerThemeData now has verticalMargin and horizontalMargin instead of an axis callback.

    • Updated button colors.

    • Removed animationDuration and animationCurve from theme datas (except from NavigationPaneThemeData).

    • Renamed copyWith to merge on theme datas (except from ThemeData)

    • Fixed typo standart -> standard

    • Implement AnimatedAcrylic