BMFTraceOverlay constructor
BMFTraceOverlay({
- required List<
BMFCoordinate> coordinates, - required BMFTraceOverlayAnimateOption traceOverlayAnimateOption,
- int? width = 5,
- Color? strokeColor = Colors.blue,
- Color? fillColor = Colors.green,
- bool? isTrackBloom = false,
- bool? isGradientColor = false,
- double? bloomSpeed = 5.0,
- bool? isThined = true,
- bool? isCornerSmooth = true,
- List<
Color> ? strokeColors = const [], - 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,
this.isTrackBloom: false,
this.isGradientColor: false,
this.bloomSpeed: 5.0,
this.isThined: true,
this.isCornerSmooth: true,
this.strokeColors: const [],
int zIndex: 0,
bool visible: true,
}) : assert(coordinates.length > 1),
super(zIndex: zIndex, visible: visible);