BMFTraceOverlay constructor Null safety
- {required List<
BMFCoordinate> coordinates, - required BMFTraceOverlayAnimateOption traceOverlayAnimateOption,
- int? width = 5,
- Color? strokeColor = Colors.blue,
- Color? fillColor = Colors.green,
- int zIndex = 0,
- bool visible = true}
动态轨迹构造方法
Implementation
BMFTraceOverlay({
required this.coordinates,
required this.traceOverlayAnimateOption,
this.width: 5,
this.strokeColor: Colors.blue,
this.fillColor: Colors.green,
int zIndex: 0,
bool visible: true,
}) : assert(coordinates.length > 1),
super(zIndex: zIndex, visible: visible);