Skip to content

Releases: rydmike/flex_color_scheme

Version 7.1.2

17 May 03:00
Compare
Choose a tag to compare

7.1.2

May 17, 2023

PACKAGE

FIX

  • SubThemes ElevatedButton in M3 mode, when using elevatedButtonSecondarySchemeColor and there was no value defined on elevatedButtonSchemeColor it resulted in wrong color being used as default for elevatedButtonSchemeColor. Issue and test fixed.

CHORE

  • Updated Android runner included for all the examples. The previous one no longer worked with Flutter 3.10, and its used Kotlin version. With included updated version, the examples can be built as Android apps again.

Version 7.1.1

15 May 17:36
5619cba
Compare
Choose a tag to compare

7.1.1

May 15, 2023

PACKAGE

FIX

  • Fixed regression issue where custom a textTheme's color is no longer applied.
    • See issue #151.
    • The issue was introduced in version 7.0.0, when adding a feature that provided automatic correct default contrast text color for GoogleFonts, when a default GoogleFonts and its TextTheme, like GoogleFonts.notoSansTextTheme() is used in textTheme or primaryTextTheme in FlexColorScheme.
    • The GoogleFonts and its textTheme color always defaults to the color from M2 mode default light mode ThemeData.light().textTheme. This when used in ThemeData forces users to assign correct M2/M3 color and textTheme/primaryTextTheme contrast color, to all its styles, whenever used in a situation where the default is light theme mode M2 color is the wrong color. The default contrast color is basically only correct for a light theme when using Material 2. For anything else, it is incorrect.
    • FCS version 7.0.0 got rid of the need to make such correction assignment, but it also incorrectly disabled using custom colors used in any custom TextTheme.
    • The applied FIX keeps the desired "no need to give correct contrast color" to a default GoogleFonts TextTheme in FlexColorScheme and also allows making custom colored text custom text themes.
    • The FIX is a bit involved, it also led to an idea that maybe GoogleFonts, should just keep the font color default as null, and let Flutter's default Theme behavior handle the assignment of correct color for the M2/M3 mode and light/dark theme mode, using each mode's default contrast color, for each style in the TextTheme. See issue GoogleFonts #401 for more info on this.
    • Tests added for the regression and for the new GoogleFonts default TextTheme being used and nulling its colors, so they get correct M2/M3 mode default contrast colors in both light and dark mode and for both textTheme and primaryTextTheme.

THEMES PLAYGROUND

FIX

  • Fixed the code gen for useTextTheme setting to always generate code for setting's value in Playground code gen when it is not null. When it is undefined or null, it means that the TextTheme follows the M2/M3 specification mode default TextTheme and Typography. In previous versions, the code setting for useTextTheme only showed up in the generated code when it was needed to produce the viewed end result. If the M2/m3 mode default produced the same result, the setting was not added to the generated API config. This may be confusing. It is clearer to always show it in code gen when it is set to a none null value. See discussion in repo Q&A #150.

Version 7.1.0

12 May 02:11
761f93d
Compare
Choose a tag to compare

7.1.0

May 12, 2023

FlexColorScheme v7.1.0 supports new theming features in Flutter 3.10, it thus requires minimum Flutter 3.10 and Dart 3.0.

NEW

  • Added support for "bring shadows back" adaptive theming feature to BottomAppBar and BottomSheet.
  • Added datePickerTheme to FlexSubThemes.
  • Added properties datePickerDialogRadius and datePickerHeaderBackgroundSchemeColor to FlexSubThemesData.

CHANGE

  • Updated to use minimum flex_seed_scheme ^1.3.0. This version, no longer depends on material_color_utilities, thus avoiding all version issues and conflicts when Flutter changes what breaking version of material_color_utilities it uses on different channels and versions.

THEMES PLAYGROUND

  • Themes Playground 7.1 for FlexColorScheme 7.1 can be found here.
  • NEW

    • Added selection of themed header color scheme color for the DatePickerDialog on the Dialogs panel.
    • Added showing SearchBar with SearchView to the AppBar panel.
    • Added showing SearchBar with SearchView to the Widget Showcase.
  • UPDATE

    • Reviewed and updated status of all known theming issues in info expands.
    • The SKIA canvaskit renderer is again being used to build all the web examples, including the Themes Playground.
    • Updated all examples to use new ListenableBuilder instead of AnimatedBuilder where appropriate.

Version 7.0.5

29 Apr 12:52
Compare
Choose a tag to compare

7.0.5

Apr 29, 2023

  • Fix: #143 Glitches in highlighting effect on mouse hover over FlexThemeModeSwitch and FlexThemeModeOptionButton.

Version 7.1.0-dev.1

24 Apr 02:21
Compare
Choose a tag to compare
Version 7.1.0-dev.1 Pre-release
Pre-release

7.1.0-dev.1

Apr 24, 2023

This beta-1 of FlexColorScheme v7.1.0. It is a dev release using Flutter 3.10 beta channel. It requires Flutter version 3.10.0-1.3.pre or later. This beta version is a first preparation version of FlexColorScheme for the next stable Flutter release after version 3.7.x.

NEW

  • Added datePickerTheme to FlexSubThemes.
  • Added properties datePickerDialogRadius and datePickerHeaderBackgroundSchemeColor to FlexSubThemesData.

THEMES PLAYGROUND

  • NEW

    • Added selection of themed header color scheme color for the DatePickerDialog on the Dialogs panel.
    • Added showing SearchBar with SearchView to the AppBar panel.
    • Added showing SearchBar with SearchView to the Widget Showcase.
  • UPDATE

    • Reviewed and updated status of all known theming issues in info expands.
  • SKIA

    • The SKIA canvaskit renderer is again being used to build all the web examples, including the Themes Playground.
    • The beta-1 version of Themes Playground 7.1 for FCS 7.1 can be tested here.

Version 7.0.4

22 Apr 17:01
Compare
Choose a tag to compare

7.0.4

Apr 22, 2023

  • Package
    • No changes.
  • Themes Playground
    • FIX: AppBar setting for using platform adaptive scroll under elevation tint removal was not working correctly. UI bug in Playground only, no package impact.

Version 7.0.3

19 Apr 11:24
Compare
Choose a tag to compare

7.0.3

Apr 19, 2023

  • Fix #136 default background color regression on FlexThemeModeSwitch and FlexThemeModeOptionButton.

Version 7.0.2

16 Apr 13:54
Compare
Choose a tag to compare

7.0.2

Apr 16, 2023

  • Chore: Changed to using flex_seed_scheme: ^1.2.4 that depends on material_color_utilities with version constraint set to >=0.2.0 <0.4.0 from ^0.2.0.
    • This change enables the package to be used on current Flutter stable 3.7 versions, as well as the latest 3.10.x versions on channels beta and master. It will also work with the next stable Flutter release after 3.7.

Version 7.0.1

06 Apr 20:31
6aa2047
Compare
Choose a tag to compare

7.0.1

Apr 6, 2023

  • Package
    • No changes.
  • Themes Playground
    • Less chatty UI
    • Revised media size breakpoints.
    • Vertical color selector mode.
    • More compact UI options for smaller laptop displays and tablets.

Version 7.0.0

02 Apr 17:23
Compare
Choose a tag to compare

7.0.0

Apr 2, 2023

This is a major update to the FlexColorScheme package and a substantial leap for the companion app Themes Playground. For a detailed list of all changes, please refer to the incremental log from its development release linked below.

The Themes Playground app built for this release is unfortunately not a SKIA renderer build, it is using the HTML renderer. This makes it less performant than the app would otherwise be. Additionally, scaled content, like the Themes Simulator panel in the Playground, is also fuzzier than it would be with the SKIA renderer. Due to an issue in Flutter stable 3.7.0 to at least 3.7.9, builds made with the SKIA renderer performs very poorly and crash quickly. For more information, see Flutter issue #122189. A new build using the same package version will be made later and released when a fix for the SKIA issues are available on the Flutter stable channel.