BMFPolygon.hollowShapes constructor Null safety
- {required List<
BMFCoordinate> coordinates, - required List<
BMFHollowShape> ? hollowShapes, - int? width = 5,
- Color? strokeColor = Colors.blue,
- Color? fillColor = Colors.red,
- BMFLineDashType? lineDashType = BMFLineDashType.LineDashTypeNone,
- int zIndex = 0,
- bool visible = true}
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,
int zIndex: 0,
bool visible: true,
}) : assert(coordinates.length > 2),
assert(hollowShapes!.length > 0),
super(zIndex: zIndex, visible: visible);