BMFGeodesicLine constructor Null safety

BMFGeodesicLine(
  1. {required List<BMFCoordinate> coordinates,
  2. int? width = 5,
  3. Color? strokeColor,
  4. String? textureImage,
  5. BMFLineDashType? lineDashType = BMFLineDashType.LineDashTypeNone,
  6. BMFLineDirectionCross180Type? lineDirectionCross180 = BMFLineDirectionCross180Type.None,
  7. int zIndex = 0,
  8. bool visible = true}
)

大地曲线构造方法

Implementation

BMFGeodesicLine({
  required this.coordinates,
  this.width = 5,
  this.strokeColor,
  this.textureImage,
  this.lineDashType = BMFLineDashType.LineDashTypeNone,
  this.lineDirectionCross180 = BMFLineDirectionCross180Type.None,
  int zIndex: 0,
  bool visible: true,
})  : assert(coordinates.length > 1),
      super(zIndex: zIndex, visible: visible);