LineOptions constructor

const LineOptions({
  1. required double strokeWidth,
  2. required Color color,
  3. double borderStrokeWidth = 0.0,
  4. Color? borderColor = Colors.blue,
  5. List<Color>? gradientColors,
  6. List<double>? colorsStop,
  7. bool isDotted = false,
  8. StrokeCap strokeCap = StrokeCap.round,
  9. StrokeJoin strokeJoin = StrokeJoin.round,
  10. bool useStrokeWidthInMeter = false,
})

Default constructor for LineOptions.

Implementation

const LineOptions({
  required this.strokeWidth,
  required this.color,
  this.borderStrokeWidth = 0.0,
  this.borderColor = Colors.blue,
  this.gradientColors,
  this.colorsStop,
  this.isDotted = false,
  this.strokeCap = StrokeCap.round,
  this.strokeJoin = StrokeJoin.round,
  this.useStrokeWidthInMeter = false,
});