BMFArcLine constructor Null safety

BMFArcLine(
  1. {required List<BMFCoordinate> coordinates,
  2. int? width = 5,
  3. Color? color = Colors.blue,
  4. BMFLineDashType? lineDashType = BMFLineDashType.LineDashTypeNone,
  5. int zIndex = 0,
  6. bool visible = true}
)

BMFArcline构造方法

Implementation

BMFArcLine({
  required this.coordinates,
  this.width: 5,
  this.color: Colors.blue,
  this.lineDashType: BMFLineDashType.LineDashTypeNone,
  int zIndex: 0,
  bool visible: true,
})  : assert(coordinates.length > 2),
      super(zIndex: zIndex, visible: visible);