ColorExtensions extension
- on
Methods
-
toHex(
{bool includeAlpha = false, bool leadingHash = true}) → String -
Available on Color, provided by the ColorExtensions extension
Returns this color as a CSS-style hexadecimal string. -
withOpacityValue(
double opacity) → Color -
Available on Color, provided by the ColorExtensions extension
Returns this color withopacityapplied using modern Flutter color APIs.