New
Version 8.3.0
8.3.0
August 15, 2025
This release of FlexColorScheme adds support for breaking changes in Flutter v3.35.0 and also requires at least this version.
Package
FIX
- Fix the in Flutter v3.35 broken API for
BottomAppBarTheme, see issue #283 - Fix the Flutter v3.35 broken API for
AppBarTheme, migrate to use newAppBarThemeData. For more information, see the discussion in #PR285 - Fix the Flutter v3.35 broken API for
InputDecorationTheme, migrate to use newInputDecorationThemeData. For more information, see the discussion in #PR285 - Added a temporary workaround for the
DropdownMenu's width issue #170970 so that the correct default width style for theDropdownMenuis retained. This issue affects Flutter 3.32.0 to at least Flutter 3.35.1. There is a fix PR in the master channel #PR169438, but it has not landed in Flutter 3.35.1. See also FCS issue report #286.
CHORE
- Updated tests to use the new
BottomAppBarThemeDataAPI. - Updated tests to use the new
AppBarThemeDataAPI. - Updated tests to use the new
InputDecorationThemeDataAPI. - The test for
FlexSubThemeData.sliderShowValueIndicatorwas changed from in Flutter 3.35 deprecated valueShowValueIndicator.alwaystoShowValueIndicator.onDrag, which is the new equivalent value in Flutter 3.35. - Bump packages to latest versions.
FEATURE
- DropdownMenu: Added theming properties for the
DropdownMenu's maximum size.FlexSubThemesDatagot the new propertydropdownMenuMaximumSize.FlexSubThemes.dropdownMenuThemegot the new propertymaximumSize.- Both of type
WidgetStateProperty<Size?>? - This was added to allow overriding the fix for the
DropdownMenuwidth issue #170970. - The
FlexSubThemes.dropdownMenuThemepropertymaximumSizetemporarily default fallbacks toconst WidgetStatePropertyAll<Size>(Size.infinite)if undefined. This results in the same default and correct style that Flutter had in 3.29.x and earlier versions. The default fallback will be removed in a future version of FlexColorScheme when the issue is fixed in Flutter SDK stable release. - This property is not available in the Themes Playground app, you can only override it via FlexColorScheme APIs.
Playground
CHORE
- Change deprecated
Switch.activeColortoSwitch.activeThumbColorinColorNameValue. - Use the new
RadioGroupAPI in the Playground Theme Simulator in the Material-3 example app. - Update known issues info expands in the Playground with up-to-date information about known issues and limitations in Flutter SDK theming.
- Bump packages to latest versions.
FEATURE
- The slider indicator value selection got the new selections
ShowValueIndicator.onDragandShowValueIndicator.alwaysShow, which are new values in Flutter 3.35. The old valueShowValueIndicator.alwaysis deprecated in Flutter 3.35 and will be removed in a future version of Flutter SDK and the Playground app. - The Code generation and Export-Import to JSON features were separated into two different panels. This was done to improve the discoverability of the Export-import to JSON feature.