Polygon class

Inheritance
Implementers

Constructors

Polygon(List latlngs, {bool? stroke, Color? strokeColor, double? strokeWidth, double? strokeOpacity, StrokeCap? strokeCap, StrokeJoin? strokeJoin, PathFillType? pathFillType, Color? fillColor, double? fillOpacity, List<Color>? gradientStrokeColors, List<double>? gradientStrokeStops, List<Color>? gradientFillColors, List<double>? gradientFillStops, bool? isDotted, List<List<LatLng>>? holes = const [], bool? withHoles, dynamic data})
Polygon.from(dynamic value, {bool? stroke, Color? strokeColor, num? strokeWidth, double? strokeOpacity, StrokeCap? strokeCap, StrokeJoin? strokeJoin, Color? fillColor, double? fillOpacity, PathFillType? pathFillType, List<Color>? gradientStrokeColors, List<double>? gradientStrokeStops, List<Color>? gradientFillColors, List<double>? gradientFillStops, List<List<LatLng>>? holes, bool? withHoles, bool? isDotted, dynamic data})
factory

Properties

bounds LatLngBounds
no setteroverride
data → dynamic
finalinherited
fillColor Color?
final
fillOpacity double?
final
gradientFillColors List<Color>?
final
gradientFillStops List<double>?
final
gradientStrokeColors List<Color>?
finalinherited
gradientStrokeStops List<double>?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
holes List<List<LatLng>>?
final
isDotted bool?
finalinherited
isEmpty bool
no setteroverride
isNotEmpty bool
no setteroverride
isNotValid bool
no setter
isValid bool
no setter
latlngs List<LatLng>
finalinherited
pathFillType PathFillType?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stroke bool?
final
strokeCap StrokeCap?
finalinherited
strokeColor Color?
finalinherited
strokeJoin StrokeJoin?
finalinherited
strokeOpacity double?
finalinherited
strokeWidth double?
finalinherited
validLatLngs List<LatLng?>
no setterinherited
withHoles bool?
final

Methods

copy({bool? stroke, Color? strokeColor, num? strokeWidth, double? strokeOpacity, StrokeCap? strokeCap, StrokeJoin? strokeJoin, PathFillType? pathFillType, Color? fillColor, double? fillOpacity, List<Color>? gradientStrokeColors, List<double>? gradientStrokeStops, List<Color>? gradientFillColors, List<double>? gradientFillStops, List<List<LatLng>>? holes, bool? withHoles, bool? isDotted, dynamic data}) Polygon
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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