VxColorExtension extension

on

Properties

getMaterialColorValues Map<int, Color>
Get MaterialColor values from the current color
no setter
isTransparent bool
whether the color is transparent or not
no setter
swatch MaterialColor
Get the swatch of the color
no setter
withBrightness Color
Get the color with brightness of the current color
no setter

Methods

materialColor() MaterialColor
Returns a MaterialColor based on the current color.
toHex({bool leadingHashSign = true}) String
Prefixes a hash sign if leadingHashSign is set to true and returns the hexadecimal string value of the color.