Shape class

Represents a polygon.

Constructors

Shape({required List<LatLng> points, required void painter(Canvas canvas, List<Offset> points, Object? metadata), Object? metadata})
Constructor.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
metadata Object?
Optional metadata that comes with the shape.
final
painter → void Function(Canvas canvas, List<Offset> points, Object? metadata)
Painter.
final
points List<LatLng>
Geo coordinates.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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