Polygon class
Constructors
-
Polygon({required List<
LatLng> points, List<List< ? 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, bool rotateLabel = false})LatLng> >
Properties
- borderColor → Color
-
final
- borderStrokeWidth → double
-
final
- boundingBox → LatLngBounds
-
no setter
- color → Color
-
final
- disableHolesBorder → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
holePointsList
→ List<
List< ?LatLng> > -
final
- isDotted → bool
-
final
- isFilled → bool
-
final
- label → String?
-
final
- labelPlacement → PolygonLabelPlacement
-
final
- labelPosition → LatLng
-
no setter
- labelStyle → TextStyle
-
final
-
points
→ List<
LatLng> -
final
- renderHashCode → int
-
Used to batch draw calls to the canvas.
no setter
- rotateLabel → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strokeCap → StrokeCap
-
final
- strokeJoin → StrokeJoin
-
final
- textPainter → TextPainter?
-
no setter
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