PolylineOption class

Polyline创建参数

Annotations

Constructors

PolylineOption({required List<LatLng> coordinateList, double width = 5, Color strokeColor = Colors.green, ImageProvider<Object>? textureProvider, LineCapType? lineCapType, LineJoinType? lineJoinType, DashType? dashType})

Properties

coordinateList List<LatLng>
经纬度列表
final
dashType DashType?
是否虚线
final
hashCode int
The hash code for this object.
no setterinherited
lineCapType LineCapType?
线段末端样式
final
lineJoinType LineJoinType?
线段连接处样式
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strokeColor Color
颜色
final
textureProvider ImageProvider<Object>?
自定义纹理
final
width double
宽度
final

Methods

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