BMFGradientLine constructor
- {required List<
BMFCoordinate> coordinates, - required List<
int> indexs, - required List<
Color> colors, - int? width = 5,
- BMFLineDirectionCross180Type? lineDirectionCross180 = BMFLineDirectionCross180Type.None,
- bool? isThined = true,
- bool? clickable = true,
- int zIndex = 0,
- bool visible = true,
- Map? customMap}
渐变线构造方法
Implementation
BMFGradientLine({
required this.coordinates,
required this.indexs,
required this.colors,
this.width = 5,
this.lineDirectionCross180 = BMFLineDirectionCross180Type.None,
this.isThined = true,
this.clickable = true,
int zIndex = 0,
bool visible = true,
Map? customMap,
}) : assert(coordinates.length > 1),
assert(indexs.length > 0),
assert(colors.length > 0),
super(zIndex: zIndex, visible: visible, customMap: customMap);