PolygonOptions constructor

const PolygonOptions({
  1. required List<List<GeoPoint>> contours,
  2. Color color = const Color(),
  3. LogicalPixel strokeWidth = const LogicalPixel(0),
  4. Color strokeColor = const Color(),
  5. bool visible = true,
  6. Object? userData = const {},
  7. ZIndex zIndex = const ZIndex(0),
  8. LevelId? levelId = null,
})

Implementation

const PolygonOptions({
  required this.contours,
  this.color = const Color(),
  this.strokeWidth = const LogicalPixel(0),
  this.strokeColor = const Color(),
  this.visible = true,
  this.userData = const {},
  this.zIndex = const ZIndex(0),
  this.levelId = null
});