VxColorExtension extension
- on
Properties
-
getMaterialColorValues
→ Map<
int, Color> -
Available on Color, provided by the VxColorExtension extension
Get MaterialColor values from the current colorno setter - isTransparent → bool
-
Available on Color, provided by the VxColorExtension extension
whether the color is transparent or notno setter - swatch → MaterialColor
-
Available on Color, provided by the VxColorExtension extension
Get the swatch of the colorno setter - withBrightness → Color
-
Available on Color, provided by the VxColorExtension extension
Get the color with brightness of the current colorno setter
Methods
-
materialColor(
) → MaterialColor -
Available on Color, provided by the VxColorExtension extension
Returns a MaterialColor based on the current color. -
toHex(
{bool leadingHashSign = true}) → String -
Available on Color, provided by the VxColorExtension extension
Prefixes a hash sign ifleadingHashSign
is set totrue
and returns the hexadecimal string value of the color.