AreaOptions constructor

const AreaOptions({
  1. List<List<LatLng>>? holePointsList,
  2. required Color color,
  3. double borderStrokeWidth = 0.0,
  4. Color borderColor = Colors.transparent,
  5. bool disableHolesBorder = false,
  6. bool isDotted = false,
  7. bool isFilled = false,
  8. StrokeCap strokeCap = StrokeCap.round,
  9. StrokeJoin strokeJoin = StrokeJoin.round,
  10. String? label,
  11. TextStyle labelStyle = const TextStyle(),
  12. PolygonLabelPlacement labelPlacement = PolygonLabelPlacement.centroid,
  13. bool rotateLabel = false,
})

Default constructor for AreaOptions.

Implementation

const AreaOptions({
  this.holePointsList,
  required this.color,
  this.borderStrokeWidth = 0.0,
  this.borderColor = Colors.transparent,
  this.disableHolesBorder = false,
  this.isDotted = false,
  this.isFilled = false,
  this.strokeCap = StrokeCap.round,
  this.strokeJoin = StrokeJoin.round,
  this.label,
  this.labelStyle = const TextStyle(),
  this.labelPlacement = PolygonLabelPlacement.centroid,
  this.rotateLabel = false,
});