GradientPolylineOptions constructor
const
GradientPolylineOptions({
- LogicalPixel borderWidth = const LogicalPixel(0),
- LogicalPixel secondBorderWidth = const LogicalPixel(0),
- LogicalPixel gradientLength = const LogicalPixel(1),
- Color borderColor = const Color(),
- Color secondBorderColor = const Color(),
- required List<
Color> colors, - required ByteData colorIndices,
Implementation
const GradientPolylineOptions({
this.borderWidth = const LogicalPixel(0),
this.secondBorderWidth = const LogicalPixel(0),
this.gradientLength = const LogicalPixel(1),
this.borderColor = const Color(),
this.secondBorderColor = const Color(),
required this.colors,
required this.colorIndices
});