Polygon class

Annotations

Constructors

Polygon({required PolygonId polygonId, required List<LatLng> points, bool geodesic = false, Color strokeColor = Colors.white, int strokeWidth = 1, Color fillColor = Colors.transparent, bool visible = true, int zIndex = 0, bool clickable = false, VoidCallback? onClick, List<List<LatLng>> holes = const <List<LatLng>>[], JointType strokeJointType = JointType.mitered, List<PatternItem> strokePattern = const <PatternItem>[]})
const

Properties

clickable bool
final
fillColor Color
final
geodesic bool
final
hashCode int
The hash code for this object.
no setteroverride
holes List<List<LatLng>>
final
onClick VoidCallback?
final
points List<LatLng>
final
polygonId PolygonId
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strokeColor Color
final
strokeJointType JointType
final
strokePattern List<PatternItem>
final
strokeWidth int
final
visible bool
final
zIndex int
final

Methods

clone() Polygon
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateCopy({List<LatLng>? points, bool? geodesic, Color? strokeColor, int? strokeWidth, Color? fillColor, bool? visible, int? zIndex, bool? clickable, VoidCallback? onClick, List<List<LatLng>>? holes, JointType? strokeJointType, List<PatternItem>? strokePattern}) Polygon

Operators

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