withValues method
- double? alpha,
- double? red,
- double? green,
- double? blue,
- ColorSpace? colorSpace,
override
Returns a new color that matches this color with the passed in components changed.
Changes to color components will be applied before applying changes to the color space.
Implementation
@override
Color withValues(
{double? alpha,
double? red,
double? green,
double? blue,
ColorSpace? colorSpace}) =>
_effectiveColor.withValues(
alpha: alpha,
red: red,
green: green,
blue: blue,
colorSpace: colorSpace);