material_color_utilities 0.3.0  material_color_utilities: ^0.3.0 copied to clipboard
material_color_utilities: ^0.3.0 copied to clipboard
Algorithms and utilities that power the Material Design 3 color system, including choosing theme colors from images and creating tones of colors; all in a new color space.
0.3.0 - 2023-03-10 #
Added #
- Add 4 new components:
- contrast: Use- Contrastfor utility methods
- dislike: Use- DislikeAnalyzerfor checking and fixing universally disliked colors
- dynamiccolor: Use- DynamicColorand- MaterialDynamicColorsfor colors from a- DynamicScheme, that adjust based on UI state (dark theme, style, preferences, contrast requirements, etc.)
- temperature: Use- TemperatureCachefor analogous & complementary colors
 
- scheme: Add- DynamicSchemeand its subclasses:- SchemeExpressive
- SchemeMonochrome
- SchemeNeutral
- SchemeTonalSpot
- SchemeVibrant
- SchemeFidelity
- SchemeContent
 
- hct: Add- inViewingConditionsto- hct, for color relativity
- utilities: Add- lstarFromYmethod, utility to which is the inverse of- yFromLstar
Changed #
- Export all public API in material_color_utilities.dart
- Bump minimum Flutter SDK version to 2.17.0
Fixed #
- Fix missing hashCodeoverride forHct
- Fix TonalPaletteequality operator when different constructors are used (#56)
0.2.0 - 2022-08-05 #
0.1.5 - 2022-04-25 #
Added #
- Introduce CamSolver, a fast solver for the HCT equation. Highly performant, but a small breaking change
- Add explanation and link to dynamic_colorpackages
- Add operator ==andtoStringoverrides toHct
Changed #
- Improve documentation for color_utils.dart
- Rename HctColortoHct
Fixed #
- Fix README import
0.1.4 - 2022-01-21 #
Added #
- Allow creation of Schemefrom aCorePalettewithlightFromCorePaletteanddarkFromCorePalette
0.1.2 - 2021-12-02 #
Changed #
- Update Schemetonal values
- Move matcherto pubspec'sdev_dependencies