CircleOptions class Navigation View

Defines CircleOptions for a circle.

Annotations

Constructors

CircleOptions.new({LatLng position = const LatLng(latitude: 0.0, longitude: 0.0), double radius = 0.0, double strokeWidth = 10, Color strokeColor = Colors.black, List<PatternItem> strokePattern = const <PatternItem>[], Color fillColor = Colors.black, double zIndex = 0.0, bool visible = true, bool clickable = false})
Initialize CircleOptions object.
const

Properties

clickable bool
Specifies whether this circle is clickable.
final
fillColor Color
Specifies the fill color for the circle.
final
hashCode int
The hash code for this object.
no setteroverride
position LatLng
Specifies the circle's position in coordinates.
final
radius double
Specifies the radius of the circle in meters.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strokeColor Color
Specifies the circle's stroke color, as 32-bit ARGB.
final
strokePattern List<PatternItem>
Specifies a stroke pattern for the circle's outline. Android only property.
final
strokeWidth double
Specifies the circle's stroke width, in display pixels.
final
visible bool
Specifies the visibility for the circle.
final
zIndex double
Specifies the circle's zIndex, i.e., the order in which it will be drawn.
final

Methods

copyWith({LatLng? position, double? radius, double? strokeWidth, Color? strokeColor, List<PatternItem>? strokePattern, Color? fillColor, double? zIndex, bool? visible, bool? clickable}) CircleOptions
Create copy of CircleOptions with specified parameters.
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