withValues abstract method

Color withValues({
  1. double? red,
  2. double? green,
  3. double? blue,
  4. double? alpha,
})

Returns a new color with the provided values replaced.

Implementation

Color withValues({double? red, double? green, double? blue, double? alpha});