colorfull 1.3.0 copy "colorfull: ^1.3.0" to clipboard
colorfull: ^1.3.0 copied to clipboard

The full palette of HSL Colors available as constants for Flutter

1.3.0 #

Changes #

  • Deprecated Swatch class.
  • Moved all Swatch methods to the ColorUtils extension on Color. You can now use the getters for color variants from the color object.

New Features #

  • Added contrastColor getter to the extension that returns the contrasting (60% lightness adjusted) variant of the color. Useful for the text color of a button.
  • Added disabledColor getter to the extension that returns a 70% less saturated variant of the color. Useful as the "disabled" state of a button.

1.2.1 #

Bug Fixes #

  • Fixed bug in Swatch class where comparative getters returned the wrong color.

1.2.0 #

Library Changes #

  • Added getters to the Swatch class for comparitively lighter, darker, more saturated and less saturated colors.
  • Added 2 new popular saturation variants: brown and slate as standalone color swatches.

Additional Changes #

  • Updated the example directory to use the new Swatch class.
  • Added a new "Demo" project where users can see all available color palettes.

1.1.1 #

  • Updated documentation for the new Swatch class.
  • Fixed a couple of issues in the example directory.

1.1.0 #

  • Switched color imports from package:flutter/services.dart to dart:ui across the library to remove the Flutter dependency for color primitives.
  • Added the new Swatch class which provides HSL-based color swatches and convenient shade getters (a50..a950, b50..b950, etc.).
  • Added white0 and black0 colors for use in gradients, shadows and glows.
  • Updated doc comments for all colors.

1.0.3 #

  • Updated colorfull.dart to fit dart formatting coventions.

1.0.2 #

  • Removed unnecessary install instructions from README.md

1.0.1 #

  • Fixed image issue in README.md

1.0.0 #

  • Initial Development Release
10
likes
160
points
171
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

The full palette of HSL Colors available as constants for Flutter

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on colorfull