Repository navigation
Theme update
- BREAKING CHANGES: Reworked the theme api (#39):
-
Removed the theme extension (
context.theme). UseFluentTheme.of(context)instead -
ButtonStateis now a class that can receive a value. It now allows lerping between values, makingAnimatedFluentThemepossible.Here's an example of how to migrate your code:
Before:
cursor: (_) => SystemMouseCursors.click,
Now:cursor: ButtonState.all(SystemMouseCursors.click), -
All theme datas and
AccentColorhave now a lerp method, in order to makeAnimatedFluentThemepossible. -
Implemented
AnimatedFluentTheme, in order to replaceAnimateContainers all around the library -
Dedicated theme for each theme data (#37):
- IconTheme
- ButtonTheme
- RadioButtonTheme
- CheckboxTheme
- FocusTheme
- SplitButtonTheme
- ToggleButtonTheme
- ToggleSwitchTheme
- NavigationPaneTheme
- InfoBarTheme
- TooltipTheme
- DividerTheme
- ScrollbarTheme
-
DividerThemeDatanow hasverticalMarginandhorizontalMargininstead of an axis callback. -
Updated button colors.
-
Removed
animationDurationandanimationCurvefrom theme datas (except fromNavigationPaneThemeData). -
Renamed
copyWithtomergeon theme datas (except fromThemeData) -
Fixed typo
standart->standard -
Implement
AnimatedAcrylic
-