GradientPolylineOptions constructor

const GradientPolylineOptions({
  1. LogicalPixel borderWidth = const LogicalPixel(0),
  2. LogicalPixel secondBorderWidth = const LogicalPixel(0),
  3. LogicalPixel gradientLength = const LogicalPixel(1),
  4. Color borderColor = const Color(),
  5. Color secondBorderColor = const Color(),
  6. required List<Color> colors,
  7. 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
});