ColorExtensions extension
Extension methods for common colors.
- on
Methods
-
toDartColor(
) → Color - Converts a common color to a Flutter color.
-
withAlpha(
double alpha) → Color - Returns a new color with the alpha channel multiplied by the given value.