LineOptions constructor
const
LineOptions({
- required double strokeWidth,
- required Color color,
- double borderStrokeWidth = 0.0,
- Color? borderColor = Colors.blue,
- List<
Color> ? gradientColors, - List<
double> ? colorsStop, - bool isDotted = false,
- StrokeCap strokeCap = StrokeCap.round,
- StrokeJoin strokeJoin = StrokeJoin.round,
- 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,
});