withColors method

BarGradient withColors(
  1. List<Color> value
)

Replaces BarGradient.colors with value.

Implementation

BarGradient withColors(List<Color> value) => copyWith(colors: value);