PolylineOptions constructor

const PolylineOptions({
  1. required List<GeoPoint> points,
  2. LogicalPixel width = const LogicalPixel(1),
  3. Color color = const Color(),
  4. double erasedPart = 0,
  5. DashedPolylineOptions? dashedPolylineOptions = null,
  6. GradientPolylineOptions? gradientPolylineOptions = null,
  7. bool visible = true,
  8. Object? userData = const {},
  9. ZIndex zIndex = const ZIndex(0),
  10. LevelId? levelId = null,
})

Implementation

const PolylineOptions({
  required this.points,
  this.width = const LogicalPixel(1),
  this.color = const Color(),
  this.erasedPart = 0,
  this.dashedPolylineOptions = null,
  this.gradientPolylineOptions = null,
  this.visible = true,
  this.userData = const {},
  this.zIndex = const ZIndex(0),
  this.levelId = null
});