Skip to content

Version 1.2.0-dev.1

Pre-release
Pre-release

Choose a tag to compare

@rydmike rydmike released this 22 Dec 22:34
· 338 commits to master since this release
6bc6d96

1.2.0-dev.1

Dec 23, 2022

Requires minimum Flutter 3.7.0-1.2.pre (beta channel). This is a development pre-release to support outlineVariant and scrim colors in ColorScheme. It is used for development and testing against new Material 3 features in Flutter 3.7 beta and master channel. It will be released as a stable version when the new color properties land in the Flutter stable channel, most likely after January 25, 2023.

The release also adds new features to allow customization of seed generation of error, neutral and neutral variant tonal palettes.

NEW

  • Adds support for outlineVariant and scrim colors in ColorScheme.

  • Added support for customizing seed generation for error, neutral and neutral variant tonal palettes.

  • To support the new features the SeedColorScheme.fromSeeds got the following new Color properties errorKey, neutralKey and neutralVariantKey.

  • The FlexTones class got the following new double properties
    errorChroma, errorMinChroma, neutralMinChroma and neutralVariantMinChroma

  • The FlexCorePalette.fromSeeds factory got the following new int properties error, neutral, neutralVariant and neutralVariantMinChroma. As well as new double properties errorChroma, errorMinChroma, neutralChroma, neutralMinChroma, neutralVariantChroma and neutralVariantMinChroma.

  • The demo application got an About dialog. The demo app also shows the ColorScheme applied on common Material components.