Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump flex_color_scheme from 8.0.2 to 8.1.0 #713

Merged
merged 1 commit into from
Jan 18, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 6, 2025

Bumps flex_color_scheme from 8.0.2 to 8.1.0.

Release notes

Sourced from flex_color_scheme's releases.

Version 8.1.0

8.1.0

Dec 29, 2024

Package

  • Updated the package to support and require at least Flutter v3.27.0.
  • Fixed all new analyzer lint warnings and removed usage of all deprecated Color properties.

NEW

  • Slider: Added theming properties for the Slider thumb color.

    • FlexSubThemesData got the property sliderThumbSchemeColor.
    • FlexSubThemes.sliderTheme got the property thumbSchemeColor.
  • BottomSheet: Added theming properties for the BottomSheet clip behavior property.

    • FlexSubThemesData got the property bottomSheetClipBehavior.
    • FlexSubThemes.bottomSheetTheme got the property clipBehavior.
    • The default value is now null causing the sheet to use Clip.none as the default via the component's built-in default value. Keeping it null, or setting it to Clip.none helps avoid this Flutter SDK issue: rydmike/flex_color_scheme#270 where using a BackdropFilter does not work correctly is any other clip behavior value than Clip.none is used.
    • CHANGE/FIX
      • Previously FlexColorScheme made BottomSheetThemeData where the clip behavior was set to Clip.antialias by default, causing the issue with BackdropFilter usage to emerge by default. Now you have to select another clip behavior explicitly to get the same result as before, and ne warned that Flutter SDK has issues when doing so.
  • TabBar: Added theming properties for the TabBar indicator animation behavior, that are based on the new enum property TabIndicatorAnimation in Flutter 3.27.0.

    • FlexSubThemesData got the property tabBarIndicatorAnimation.
    • FlexSubThemes.tabBarTheme got the property indicatorAnimation.
  • Exposes the convenience Color sRGB extensions from package flex_seed_scheme, that can be used as none deprecated replacements for alpha, red, green, blue and value they are called alpha8bit, red8bit, green8bit, blue8bit and value32bit. FlexColorPicker uses them internally to avoid using the deprecated Color properties.

CHANGE

  • Slider: Minor color fidelity change to the Slider's thumb overlay color, it now uses Material-3 default for none tinted overlay. The M3 spec default is tinted as well, so the difference to when using FlexColorScheme's tinted interactions via FlexSubThemesData(interactionEffects: true) is now negligible for the Slider's default thumb overlay color.
  • Migrated FlexSubThemes.cardTheme and FlexSubThemes.dialogTheme to use normalized component themes and return CardThemeData and DialogThemeData instead of CardThemeand DialogTheme. This is in-line with changes in Flutter 3.27.0.

FIX

  • BUG: Locked errorContainer used tertiaryContainer, corrected to use errorContainer.

Themes Playground

NEW

  • Slider: On the Slider panel added a scheme color selector for the Slider thumb color.
  • BottomSheet: On the BottomSheet panel added a clipping behavior selector.
  • TabBar: On the TabBar panel added a tab indicator animation selector.

CHANGE

  • Slider: Increased Playground allowed max Slider track height from 14 to 40.
Changelog

Sourced from flex_color_scheme's changelog.

8.1.0

Dec 29, 2024

Package

  • Updated the package to support and require at least Flutter v3.27.0.
  • Fixed all new analyzer lint warnings and removed usage of all deprecated Color properties.

NEW

  • Slider: Added theming properties for the Slider thumb color.

    • FlexSubThemesData got the property sliderThumbSchemeColor.
    • FlexSubThemes.sliderTheme got the property thumbSchemeColor.
  • BottomSheet: Added theming properties for the BottomSheet clip behavior property.

    • FlexSubThemesData got the property bottomSheetClipBehavior.
    • FlexSubThemes.bottomSheetTheme got the property clipBehavior.
    • The default value is now null causing the sheet to use Clip.none as the default via the component's built-in default value. Keeping it null, or setting it to Clip.none helps avoid this Flutter SDK issue: rydmike/flex_color_scheme#270 where using a BackdropFilter does not work correctly is any other clip behavior value than Clip.none is used.
    • CHANGE/FIX
      • Previously FlexColorScheme made BottomSheetThemeData where the clip behavior was set to Clip.antialias by default, causing the issue with BackdropFilter usage to emerge by default. Now you have to select another clip behavior explicitly to get the same result as before, and ne warned that Flutter SDK has issues when doing so.
  • TabBar: Added theming properties for the TabBar indicator animation behavior, that are based on the new enum property TabIndicatorAnimation in Flutter 3.27.0.

    • FlexSubThemesData got the property tabBarIndicatorAnimation.
    • FlexSubThemes.tabBarTheme got the property indicatorAnimation.
  • Exposes the convenience Color sRGB extensions from package flex_seed_scheme, that can be used as none deprecated replacements for alpha, red, green, blue and value they are called alpha8bit, red8bit, green8bit, blue8bit and value32bit. FlexColorPicker uses them internally to avoid using the deprecated Color properties.

CHANGE

  • Slider: Minor color fidelity change to the Slider's thumb overlay color, it now uses Material-3 default for none tinted overlay. The M3 spec default is tinted as well, so the difference to when using FlexColorScheme's tinted interactions via FlexSubThemesData(interactionEffects: true) is now negligible for the Slider's default thumb overlay color.
  • Migrated FlexSubThemes.cardTheme and FlexSubThemes.dialogTheme to use normalized component themes and return CardThemeData and DialogThemeData instead of CardThemeand DialogTheme. This is in-line with changes in Flutter 3.27.0.

FIX

  • BUG: Locked errorContainer used tertiaryContainer, corrected to use errorContainer.

Themes Playground

NEW

  • Slider: On the Slider panel added a scheme color selector for the Slider thumb color.
  • BottomSheet: On the BottomSheet panel added a clipping behavior selector.
  • TabBar: On the TabBar panel added a tab indicator animation selector.

CHANGE

  • Slider: Increased Playground allowed max Slider track height from 14 to 40.
Commits
  • 5e74aa3 Chore: Bump example/Playground packages
  • 3a6cf72 Update CHANGELOG.md
  • ea05497 FIX: Remove own version of Color 8bit and 32bit extensions and use the ones f...
  • 2c2a70f Merge pull request #272 from rydmike/v8-1-for-flutter-3-27
  • 2b3d2a2 Merge branch 'master' into v8-1-for-flutter-3-27
  • 5195995 Chore: Preparations for 8.1.0 release
  • 774c0ee Chore: Update to RydMike lints 2.3.0 and fix lints
  • d395b43 Playground: Features: BottomSheet Clip behavior. TabBar indicator animation.
  • 95ae525 Remove: TabBarTheme: Not needed M3 vs M2 indicator size values, Flutter defau...
  • d70c4da Remove: Not in playground comment for tabBarIndicatorAnimation
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Jan 6, 2025
Bumps [flex_color_scheme](https://github.com/rydmike/flex_color_scheme) from 8.0.2 to 8.1.0.
- [Release notes](https://github.com/rydmike/flex_color_scheme/releases)
- [Changelog](https://github.com/rydmike/flex_color_scheme/blob/master/CHANGELOG.md)
- [Commits](rydmike/flex_color_scheme@8.0.2...8.1.0)

---
updated-dependencies:
- dependency-name: flex_color_scheme
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pub/flex_color_scheme-8.1.0 branch from 1eba3b9 to ac3e5ea Compare January 18, 2025 11:00
@rolandgeider rolandgeider merged commit f77fbca into master Jan 18, 2025
4 checks passed
@dependabot dependabot bot deleted the dependabot/pub/flex_color_scheme-8.1.0 branch January 18, 2025 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dart Pull requests that update Dart code dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant