from_css_color 1.2.0 copy "from_css_color: ^1.2.0" to clipboard
from_css_color: ^1.2.0 copied to clipboard

outdated

Creates Color instance from CSS color string according to https://drafts.csswg.org/css-color-3

1.2.0 #

  • Add isCssColor() function to check color string format correctness.

1.1.0 #

  • Add toCssColor() extension method to convert Color instance to CSS color string.

1.0.0 #

  • Add support for 4 (#rgba) and 8 (#rrggbbaa) digit hex colors.
  • Update versioning to stable after 3 months of usage in production (no breaking changes expected).

0.1.1 #

  • Update readme and file formatting.

0.1.0 #

  • Support for 'transparent' color keyword.
  • Support for hsl/hsla colors.

0.0.1 #

  • Support for 3 and 6 digit hex colors.
  • Support for rgb/rgba colors.
  • Support for X11 keywords.
22
likes
40
pub points
100%
popularity

Publisher

unverified uploader

Creates Color instance from CSS color string according to https://drafts.csswg.org/css-color-3

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on from_css_color