MFPolyline constructor
const
MFPolyline({
- required MFPolylineId polylineId,
- bool consumeTapEvents = false,
- Color color = Colors.black,
- MFPolylineStyle style = MFPolylineStyle.solid,
- List<
MFLatLng> points = const <MFLatLng>[], - bool visible = true,
- int width = 10,
- int zIndex = 0,
- VoidCallback? onTap,
Creates an immutable object representing a line drawn through geographical locations on the map.
Implementation
const MFPolyline({
required this.polylineId,
this.consumeTapEvents = false,
this.color = Colors.black,
this.style = MFPolylineStyle.solid,
this.points = const <MFLatLng>[],
this.visible = true,
this.width = 10,
this.zIndex = 0,
this.onTap,
});