Circle class

Circle can have their own style to override style from CircleLayerOptions.

This is to to handle the case when you use CirclesLayer with many circle take their style from CirclesLayerOptions, but small part of them need to have its own style.

Otherwise, it's better to use CircleLayerOptions to set circle style.

Constructors

Circle(dynamic latlng, {double? radius, RadiusUnit radiusUnit = RadiusUnit.METER, bool? stroke, Color? strokeColor, double? strokeWidth, double? strokeOpacity, StrokeCap? strokeCap, StrokeJoin? strokeJoin, bool? fill, Color? fillColor, double? fillOpacity, dynamic data})
Circle.from(dynamic value, {double? radius, RadiusUnit? radiusUnit, bool? stroke, Color? strokeColor, double? strokeWidth, double? strokeOpacity, StrokeCap? strokeCap, StrokeJoin? strokeJoin, bool? fill, Color? fillColor, double? fillOpacity, dynamic data})
factory

Properties

center LatLng
no setter
data → dynamic
final
fill bool?
final
fillColor Color?
final
fillOpacity double?
final
hashCode int
The hash code for this object.
no setterinherited
isRadiusInMeter bool
no setter
isRadiusInPixel bool
no setter
latlng LatLng
final
radius double?
final
radiusUnit RadiusUnit
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stroke bool?
final
strokeCap StrokeCap?
final
strokeColor Color?
final
strokeJoin StrokeJoin?
final
strokeOpacity double?
final
strokeWidth double?
final

Methods

copy({double? radius, RadiusUnit? radiusUnit, bool? stroke, Color? strokeColor, double? strokeWidth, double? strokeOpacity, StrokeCap? strokeCap, StrokeJoin? strokeJoin, bool? fill, Color? fillColor, double? fillOpacity, dynamic data}) Circle
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