Repository navigation
Version 3.3.0
3.3.0
Sep 7, 2024
NEW
- Exposed
DynamicColor,MaterialDynamicColorsandSchemefrom the underlying forked Material Color Utilities (MCU) library. - Undeprecated
Scheme, that original MCU deprecated. It does not conflict with the newDynamicSchemesthat replaced it, thus in the internal MCU fork, we do not need to deprecate it and can offer it for legacy access to oldColorScheme.fromSeedscheme result in use before Flutter 3.22.0.- Internally FlexSeedScheme does not use
Schemefor its own legacy version of the same scheme, it uses its FlexTones based setup instead, but produces the same color values. We still recommend using its tonesFlexTones.material3Legacyversion instead ofSchemefor a legacy Material-3 seed generatedColorScheme. - This API is provided for legacy access to the old MCU
Schemestyle and API, that was used in Flutter 3.19.0 and earlier in itsColorScheme.fromSeedconstructor back then. If you want to recreate its exact older internal API algorithm, you can now do so usingSchemethat it used to use before Flutter 3.22.0. - This revived
Schemeclass was also complemented with the newColorSchemecolors added in Flutter 3.22.0, but it uses legacy Flutter 3.19 and earlier tone mappings for all colors that existed then. Except for dark modeonErrorContainerthat it corrected from 80 to 90. It was always a bug in Flutter version 3.19 and earlier that tone 80 was used.
- Internally FlexSeedScheme does not use