from_css_color library Null safety

Extensions

ConversionToCssString
Adds toCssString method on instance of Color.

Properties

colorKeywords Map<String, int>
read / write

Functions

fromCssColor(String color) Color
isCssColor(String color) bool
Check correctness of color string according to https://drafts.csswg.org/css-color-3

Enums

ColorFormat
Color formats available to construct Color instance from.
CssColorString
Translation options from Color to a string format recognizable according to https://drafts.csswg.org/css-color-3 and forthcoming drafts.