chroma_kit 1.1.0
chroma_kit: ^1.1.0 copied to clipboard
A professional toolkit for dynamic color manipulation, pastel blending (faint), and accessibility contrast for Flutter.
1.1.0 #
Added #
contrastRatio()– Calculates WCAG contrast ratio between two colors.isAccessibleOn()– Validates accessibility compliance for text and background colors.toMaterialColor()– Generates a completeMaterialColorswatch for Flutter themes.
Changed #
- Renamed APIs for improved clarity:
faint()→pastel()faintWith()→blendWith()faintWiths()→blendMany()
Deprecated #
withOpacityFraction()→ Usetransparency()instead.
Improved #
- Flutter 3.27+ compatibility.
- Replaced deprecated
Color.valueusage withtoARGB32().
1.0.2 #
Added #
- A comprehensive example demonstrating original vs modified color comparisons.
Fixed #
- Replaced deprecated
.opacitywith.ato resolve static analysis warnings.
Improved #
- Completed library-level dartdoc comments for improved documentation scoring.
- Improved project structure by organizing implementation files.