Polygon class

Constructors

Polygon({required List<LatLng> points, List<List<LatLng>>? holePointsList, Color color = const Color(0xFF00FF00), double borderStrokeWidth = 0.0, Color borderColor = const Color(0xFFFFFF00), 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})

Properties

borderColor Color
final
borderStrokeWidth double
final
boundingBox LatLngBounds
latefinal
color Color
final
disableHolesBorder bool
final
hashCode int
The hash code for this object.
no setterinherited
holeOffsetsList List<List<Offset>>?
final
holePointsList List<List<LatLng>>?
final
isDotted bool
final
isFilled bool
final
label String?
final
labelPlacement PolygonLabelPlacement
final
labelStyle TextStyle
final
offsets List<Offset>
final
points List<LatLng>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strokeCap StrokeCap
final
strokeJoin StrokeJoin
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited