fluent_ui 2.0.2 copy "fluent_ui: ^2.0.2" to clipboard
fluent_ui: ^2.0.2 copied to clipboard

outdated

Implements Fluent UI in Flutter. Based on the official documentation

Date format: DD/MM/YYYY

[2.0.2] - [23/05/2021] #

  • 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

[2.0.1] - [21/05/2021] #

  • Minimal flutter version is now 2.2
  • Implement FluentScrollBehavior, that automatically adds a scrollbar into listviews (#35)
  • Reworked the inputs api (#38):
    • A input can have multiple states. Now, if the widget is focused and pressed at the same time, it doesn't lose its focused border.
    • Now, the focus is not requested twice when the button is pressed, only once. This fixes a bug introduced in a previous version that combo boxes items we're not being focused.
    • Semantics (acessibility) is now applied on all inputs

[2.0.0] - [20/05/2021] #

  • New way to disable the acrylic blur effect. Just wrap the acrylic widget in a NoAcrylicBlurEffect to have it disabled.
  • Reworked the Navigation Panel from scratch (#31):
    • The legacy NavigationPanel and Scaffold were removed. Use NavigationView and ScaffoldPage instead
    • Implemented open, compact, top and minimal display modes.
    • Custom Selected Indicators
  • Implemented fluent localizations (#30)

[1.10.1] - [05/05/2021] #

  • FIX Reworked the combo box widget to improve fidelity. (#25)
  • FIX Improved HoverButton focus management.
  • FIX Reworked the tooltip widget. Now, if any mouse is connected, the tooltip is displaying according to the pointer position, not to the child's. (#26)
  • FIX TabView is now scrollable if the size of the tabs overflow the width

[1.10.0] - #

  • BREAKING InfoHeader was renamed to InfoLabel. You can now set if the label will be rendered above the child or on the side of it.
  • FIX Fixed RadioButton inner color overlaping the border.
  • NEW ThemeData.inputMouseCursor
  • FIDELITY Switch thumb is now draggable. (Fixes #22)
  • EXAMPLE Reworked the example app inputs page

[1.9.4] - [02/05/2021] #

  • FIX CheckboxListTile, SwitchListTile and RadioListTile now doesn't focus its leading widget.
  • FIX TabView is now not scrollable
  • FIX Fixed Acrylic blur effect being disabled by default.
  • FIDELITY Improved ContentDialog transition fidelity
  • FIX Fixed FocusBorder for some widgets. It was affecting layout when it shouldn't
  • FIX RatingBar and Slider weren't working due to FocusBorder
  • NEW | FIDELITY New Slider thumb

[1.9.3] - [01/05/2021] #

  • NEW FocusBorder.renderOutside. With this property, you can control if the FocusBorder will be rendered over the widget or outside of it.
  • FIX Fixed RadioButtons border when focused
  • FIX Color.resolve now doesn't throw a stack overflow error.
  • BREAKING Removed Color.resolveFromBrightness. This is only available on AccentColor
  • EXAMPLE APP Hability to change the app accent color
  • NEW darkest and lightest colors variants in AccentColor
  • FIX Fixed InfoBar's error icon. It now uses Icons.cancel_outlined instead of Icons.close
  • NEW NavigationPanel now has a Scrollbar and the bottom property is now properly styled if selected

[1.9.2] - [30/04/2021] #

  • FIX TabView tabs can now be reordered (Fixes #10)
  • FIDELITY If a new Tab is added, its now animated
  • FIX FocusBorder now doesn't change the size of the widgets
  • BREAKING buttonCursor, uncheckedInputColor and checkedInputColor are now moved to ButtonThemeData as static functions.

[1.9.1] - [29/04/2021] #

  • FIX Fixed diagnostic tree. (Fixes #17)
  • FIX | FIDELITY TappableListTile now changes its color when focused instead of having a border
  • FIDELITY Improved Acrylic's blur effect fidelity
  • FIX Acrylic's elevation was being applying margin
  • NEW ThemeData.shadowColor, which is now used by Acrylic
  • NEW You can now globally disable the acrylic blur effect by changing Acrylic.acrylicEnabled

[1.9.0] - #

The whole theme implementation was reworked on this change.

  • BREAKING Renamed Theme to FluentTheme
  • BREAKING All the properties in FluentTheme now can't be null
  • BREAKING Renamed all the Style occurrences to ThemeData
  • BREAKING ThemeData.accentColor is now an AccentColor
  • FIX When providing a custom style to a tooltip, it's now correctly applied to ThemeData.tooltipStyle
  • FIX debugCheckHasFluentTheme has now a better error message
  • FIX FluentApp now doesn't throw an error if no theme is provided
  • FIX Reworked Scrollbar to improve fidelity.
  • NEW Color extension methods: Color.toAccentColor and Color.basedOnLuminance
  • NEW Button.builder

[1.8.1] - [16/04/2021] #

  • NEW In TabView, it's now possible use the following shortcuts if TabView.shortcutsEnabled is true (Follows this):
    1. Ctrl + F4 or Ctrl + W to close the current tab
    2. Ctrl + T to create a new tab
    3. 1-8 to navigate to a tab with the pressed number
    4. 9 to navigate to the last tab and navigate to the last tab
  • NEW IconButton.autofocus, ToggleButton.autofocus
  • BREAKING Renamed all the semanticsLabel to semanticLabel

[1.8.0] - Color Update - [14/04/2021] #

  • NEW Web version hosted at https://bdlukaa.github.io/fluent_ui
  • NEW Colors showcase page in example app
  • NEW Info Colors:
    • Colors.warningPrimaryColor
    • Colors.warningSecondaryColor
    • Colors.errorPrimaryColor
    • Colors.errorSecondaryColor
    • Colors.successPrimaryColor
    • Colors.successSecondaryColor
  • FIX Reworked all the accent colors (Colors.accentColors) with darkest, dark, normal, light and lighter
  • BREAKING Colors.blue is now an AccentColor

[1.7.6] - [13/04/2021] #

  • NEW Checkbox.autofocus
  • BREAKING Button refactor:
    • Removed Button.icon and Button.trailingIcon
    • Renamed Button.text to Button.child
  • You can now disable the acrylic backdrop effect by setting enabled to false
  • NEW NavigationPanelBody.animationCurve and NavigationPanelBody.animationDuration

[1.7.5] - [13/04/2021] #

  • NEW Scrollbar and ScrollbarStyle
  • Reworked FluentApp to not depend of material anymore.

[1.7.4] - [10/04/2021] #

  • FIX Updated Icon widget to use Flutter's default icon widget
  • NEW Documentation

[1.7.3] - [07/04/2021] #

  • FIX Improved ListTile sizing (#Spacing)
  • NEW FocusStyle and support for glow focus
  • NEW RatingBar.starSpacing

[1.7.2] - [06/04/2021] #

  • FIX Animation when using NavigationPanelBody now works as expected
  • NEW CheckboxListTile, SwitchListTile and RadioListTile
  • FIX It's now not possible to focus a disabled TextBox

[1.7.1] - [06/04/2021] #

  • FIX The mouse cursor in a disabled input is now basic instead of forbidden
  • FIX NavigationPanelBody now doesn't use a IndexedStack under the hood because it was interfering in the focus scope
  • FIX The color of the focus now is the Style.inactiveColor
  • FIX RadioButton's cursor was not being applied correctly
  • NEW Button.toggle
  • FIX The state provided by HoverButton was being focused when it shouldn't be
  • FIX TimePicker showing wrong minute count. It should start from 00 and end in 59
  • NEW TimePicker.minuteIncrement

[1.7.0] - Focus Update - [05/04/2021] #

  • FIXED Fixed the possibility to give a elevation lower than 0 in Acrylic
  • NEW It's now possible to change the rating of RatingBar using the keyboard arrows
  • NEW Now it's possible to navigate using the keyboard with all focusable widgets

[1.6.0] - BREAKING CHANGES - [03/04/2021] #

  • Added the missing Diagnostics

  • Updated all the screenshots

  • BREAKING CHANGE Uses the material icon library now

    DEVELOPER NOTE This was a hard choice, but the material icon library is a robust, bigger library. It contains all the icons the previous library has, and a few many more.

[1.5.0] - [02/04/2021] #

  • Added Diagnostics to many widgets

  • NEW AutoSuggestBox (Follows this)

  • NEW Flyout and FlyoutContent (Folllows this)

  • FIXED Popup was being shown off-screen.

    DEVELOPER NOTE The solution for this was to make it act like a tooltip: only show the popup above or under the child. This was a hard choice, but the only viable option that would work on small screens/devices. This also made Flyout easier to implement. This should be changed when multi-window support is available.

  • FIXED DatePicker incorrectly changing hour

  • NEW Colors.accentColors

  • Documentation about system_theme

  • BREAKING Removed Pivot because it's deprecated

[1.4.1] - Pickers Update - [30/03/2021] #

  • NEW Style.fasterAnimationDuration
  • FIX ComboBox press effect
  • NEW TimePicker (Follows this)
  • NEW DatePicker (Follows this)

[1.4.0] - [28/03/2021] #

  • NEW InfoHeader
  • NEW ComboBox (Follows this)
  • NEW TappableListTile
  • BREAKING Removed DropdownButton and Button.dropdown

[1.3.4] - [28/03/2021] #

  • NEW Vertical Slider

[1.3.3] - [25/03/2021] #

  • NEW Indeterminate ProgressRing (@raitonoberu)
  • NEW ListTile
  • DIAGNOSTICS Provide Diagnostics support to:
    • Style
    • NavigationPanelStyle
    • TooltipStyle

[1.3.2] - Accessibility update - [24/03/2021] #

This version provides the fix for #5

  • Theme.of can't be null anymore. Use Theme.maybeOf for such
  • NEW Style.inactiveBackgroundColor
  • BREAKING Replaced color, border, borderRadius from IconButtonStyle to decoration
  • DIAGNOSTICS Provide Diagnostics support to the following classes:
    • ButtonStyle
    • Checkbox
    • CheckboxStyle
    • IconButtonStyle
    • RadioButtonStyle
    • RatingBar
    • SplitButtonStyle
    • ToggleButton
    • ToggleButtonStyle
    • ToggleSwitch
    • ToggleSwitchStyle
    • Slider
    • SliderStyle
    • Typography
    • Divider
    • DividerStyle
  • Provide accessibility support to the following widgets:
    • Button
    • Checkbox
    • IconButton
    • RadioButton
    • RatingBar
    • Slider
    • ToggleButton
    • ToggleSwitch
    • TabView

[1.3.1] - [23/03/2021] #

  • FIX IconButtonStyle's iconStyle now works properly
  • Improved TabView icon styling
  • NEW Indeterminate ProgressBar (@raitonoberu)

[1.3.0] - [22/03/2021] #

  • NEW Determinate ProgressBar and ProgressRing
  • NEW TabView (#TabView)

[1.2.5] - [21/03/2021] #

  • FIX Fixed InfoBar's overflow

[1.2.4] - [21/03/2021] #

  • BREAKING RadioButton's selected property was renamed to checked to match a single pattern between all the other widgets.

[1.2.3] - [19/03/2021] #

  • NEW | EXAMPLE APP Settings screen
  • Improved theme changing
  • FIX FluentApp doesn't lose its state anymore, possibiliting hot relaod.
  • NEW showDialog rework:
    • showDialog now can return data. (Fixes #2)
    • showDialog.transitionBuilder
    • showDialog.useRootNavigator
    • showDialog.routeSettings
    • It's no longer necessary to have the fluent theme to display dialogs using this function.

[1.2.2] - [17/03/2021] #

  • BREAKING Removed _regular from the name of the icons.
  • NEW InfoBar (Follows this)

[1.2.1] - [16/03/2021] #

  • NEW Divider

[1.2.0] - Timing and easing - Page transitioning - [15/03/2021] #

  • FIDELITY Improved ToggleButton fidelity
  • NEW NavigationPanelBody
  • NEW Page transitions
  • Add timing and easing to style. (Follows this)
    • NEW Style.fastAnimationDuration (Defaults to 150ms)
    • NEW Style.mediumAnimationDuration (Defaults to 300ms)
    • NEW Style.slowAnimationDuration (Defaults to 500ms)
    • Default animationCurve is now Curves.easeInOut (standard) instead of Curves.linear
    • BREAKING Removed Style.animationDuration
  • Refactored Navigation Panel

[1.1.0] - Fidelity update - [14/03/2021] #

  • BREAKING Removed Card widget. Use Acrylic instead
  • NEW Acrylic widget (#Acrylic)
  • NEW NAVIGATION PANEL bottom property
  • FIDELITY Improved the corder radius of some widgets (Follows this)
  • FIX FIDELITY Dark theme hovering color
  • Improved documentation

[1.0.2] - Typography update - [11/03/2021] #

  • NEW Typography
    • Migrated all the widgets to use typography
  • NEW Tooltip
  • NEW Dark theme
  • FIX Disabled button press effect if disabled
  • FIX Grey color resulting in green color

[1.0.1+1] - [09/03/2021] #

  • NEW Screenshots

[1.0.1] - [07/03/2021] #

  • FIX NavigationPanel navigation index
  • FIX Slider's inactive color
  • FIDELITY Scale animation of button press
  • FIDELITY Improved Slider label fidelity
  • NEW Split Button

[1.0.0] - [05/03/2021] #

  • NEW Null-safety
  • NEW New Icons Library
  • NEW NavigationPanelSectionHeader and NavigationPanelTileSeparator
  • BREAKING Removed Snackbar

[0.0.9] - [03/03/2021] #

  • Export the icons library
  • NEW TextBox

[0.0.8] - [01/03/2021] #

  • NEW ContentDialog 🎉
  • NEW RatingControl 🎉
  • NEW NavigationPanel 🎉
  • Improved Button fidelity

[0.0.7] - [28/02/2021] #

  • NEW Slider 🎉
  • Use physical model for elevation instead of box shadows
  • Improved TODO

[0.0.6] - [27/02/2021] #

  • FIXED Button now detect pressing
  • FIXED ToggleSwitch default thumb is now animated
  • FIXED Improved ToggleSwitch fidelity FIXED Darker color for button press.
  • NEW THEMING
    • Style.activeColor
    • Style.inactiveColor
    • Style.disabledColor
    • Style.animationDuration
    • Style.animationCurve

[0.0.5] - [27/02/2021] #

  • ToggleSwitch is now stable 🎉
  • NEW DefaultToggleSwitchThumb
  • NEW ToggleButton
  • New toast lib: fl_toast
  • Screenshot on the readme. (Fixes #1)

[0.0.4] - [22/02/2021] #

  • New fluent icons library: fluentui_icons
  • Re-made checkbox with more fidelity
  • Refactored the following widgets to follow the theme accent color:
    • Checkbox
    • ToggleSwitch
    • RadioButton
  • Added accent colors to widget. Use this as a base

[0.0.3] - Theming update - [21/02/2021] #

  • HIGHLIGHT A whole new documentation
  • Scaffold now works as expected.
  • Improved theming checking
  • NEW
    • null (thirdstate) design on Checkbox. (Follows this)
    • Now you can use the Decoration to style the inputs
  • BREAKING:
    • Removed Button.action
    • Removed Button.compound
    • Removed Button.primary
    • Removed Button.contextual
    • Removed AppBar
    • Now the default theme uses accent color instead of a predefined color (Follows this)
  • FIXED:
    • ToggleSwitch can NOT receive null values

[0.0.2] - [18/02/2021] #

  • The whole library was rewritten following this
  • Tooltip's background color is now opaque (Follows this)
  • Dropdown button now works as expected
  • FIXED:
    • Snackbar now is dismissed even if pressing or hovering
    • Margin is no longer used as part of the clickable button
  • BREAKING:
    • Renamed Toggle to ToggleSwitch (Follows this)
    • Removed BottomNavigationBar. It's recommended to use top navigation (pivots)
    • Removed IconButton.menu
  • NEW:
    • NavigationPanel (Follows this)
    • Windows project on example
    • RadioButton (Follows this)

[0.0.1] #

  • Initial release
2885
likes
0
pub points
97%
popularity

Publisher

verified publisherbdlukaa.dev

Implements Fluent UI in Flutter. Based on the official documentation

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, intl

More

Packages that depend on fluent_ui