Polyline class

Annotations

Constructors

Polyline({required PolylineId polylineId, required List<LatLng> points, bool geodesic = false, int width = 1, Color color = Colors.red, Cap startCap = Cap.buttCap, Cap endCap = Cap.buttCap, JointType jointType = JointType.mitered, List<PatternItem> patterns = const <PatternItem>[], bool visible = true, int zIndex = 0, bool clickable = false, VoidCallback? onClick, bool gradient = false, List<Color> colorValues = const <Color>[]})
const

Properties

clickable bool
final
color Color
final
colorValues List<Color>
final
endCap Cap
final
geodesic bool
final
gradient bool
final
hashCode int
The hash code for this object.
no setteroverride
jointType JointType
final
onClick VoidCallback?
final
patterns List<PatternItem>
final
points List<LatLng>
final
polylineId PolylineId
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startCap Cap
final
visible bool
final
width int
final
zIndex int
final

Methods

clone() Polyline
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateCopy({List<LatLng>? points, bool? geodesic, int? width, Color? color, Cap? startCap, Cap? endCap, JointType? jointType, List<PatternItem>? patterns, bool? visible, int? zIndex, bool? clickable, VoidCallback? onClick, bool? gradient, List<Color>? colorValues}) Polyline

Operators

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