FmPolylineOptions constructor

const FmPolylineOptions({
  1. List<double>? colorsStop,
  2. List<Color>? gradientColors,
  3. double strokeWidth = 1.0,
  4. double borderStrokeWidth = 0.0,
  5. StrokeCap strokeCap = StrokeCap.round,
  6. StrokeJoin strokeJoin = StrokeJoin.round,
  7. bool useStrokeWidthInMeter = false,
  8. Color color = const Color(0xFF00FF00),
  9. StrokePattern pattern = const StrokePattern.solid(),
  10. Color borderColor = const Color(0xFFFFFF00),
})

Options to style the polyline

Implementation

const FmPolylineOptions({
  this.colorsStop,
  this.gradientColors,
  this.strokeWidth = 1.0,
  this.borderStrokeWidth = 0.0,
  this.strokeCap = StrokeCap.round,
  this.strokeJoin = StrokeJoin.round,
  this.useStrokeWidthInMeter = false,
  this.color = const Color(0xFF00FF00),
  this.pattern = const StrokePattern.solid(),
  this.borderColor = const Color(0xFFFFFF00),
});