AreaOptions constructor
const
AreaOptions({
- List<
List< ? holePointsList,LatLng> > - required Color color,
- double borderStrokeWidth = 0.0,
- Color borderColor = Colors.transparent,
- bool disableHolesBorder = false,
- bool isDotted = false,
- bool isFilled = false,
- StrokeCap strokeCap = StrokeCap.round,
- StrokeJoin strokeJoin = StrokeJoin.round,
- String? label,
- TextStyle labelStyle = const TextStyle(),
- PolygonLabelPlacement labelPlacement = PolygonLabelPlacement.centroid,
- 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,
});