Polyline constructor
- {@required List<
LatLng> points, - double width: 10,
- bool visible: true,
- bool geodesic: false,
- double alpha: 1.0,
- DashLineType dashLineType: DashLineType.none,
- CapType capType: CapType.butt,
- JoinType joinType: JoinType.bevel,
- BitmapDescriptor customTexture,
- ArgumentCallback<
String> onTap, - Color color: const Color(0xCCC4E0F0)}
/ 默认构造函数
Implementation
Polyline({
@required this.points,
this.width = 10,
this.visible = true,
this.geodesic = false,
this.alpha = 1.0,
this.dashLineType = DashLineType.none,
this.capType = CapType.butt,
this.joinType = JoinType.bevel,
this.customTexture,
this.onTap,
this.color = const Color(0xCCC4E0F0),
}) : assert(points != null && points.length > 0),
super();