BMFPolygon.hollowShapes constructor
- {required List<
BMFCoordinate> ? coordinates, - required List<
BMFHollowShape> ? hollowShapes, - int? width = 5,
- Color? strokeColor = Colors.blue,
- Color? fillColor = Colors.red,
- BMFLineDashType? lineDashType = BMFLineDashType.LineDashTypeNone,
- bool? clickable = false,
- int zIndex = 0,
- bool visible = true,
- Map? customMap}
BMFPolygon 镂空构造方法
Implementation
BMFPolygon.hollowShapes({
required this.coordinates,
required this.hollowShapes,
this.width = 5,
this.strokeColor = Colors.blue,
this.fillColor = Colors.red,
this.lineDashType = BMFLineDashType.LineDashTypeNone,
this.clickable = false,
int zIndex = 0,
bool visible = true,
Map? customMap,
}) : assert(coordinates!.length > 2),
assert(hollowShapes!.length > 0),
super(zIndex: zIndex, visible: visible, customMap: customMap);