Polygon class

Polygon made up of mulitple points on the map

Constructors

Polygon({required String id, required List<LatLng> points, int strokeWidth = 1, Color? strokeColor = Colors.blue, Color fillColor = Colors.blue})
const

Properties

fillColor Color
Defines the fill Color within the polygon's shape
final
hashCode int
The hash code for this object.
no setteroverride
id String
Uniquely identifies a Polygon
final
points List<LatLng>
A List of LatLng points that make up the polygon's shape
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strokeColor Color?
Defines the Color of the stroke surrounding the polygon's shape
final
strokeWidth int
Defines the width of the stroke surrounding the polygon's shape
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.
override