BMFGround constructor Null safety

BMFGround(
  1. {required String image,
  2. double? width,
  3. double? height,
  4. double? anchorX,
  5. double? anchorY,
  6. int? zoomLevel,
  7. BMFCoordinateBounds? bounds,
  8. BMFCoordinate? position,
  9. double? transparency = 1.0,
  10. int zIndex = 0,
  11. bool visible = true}
)

BMFGround构造方法

Implementation

BMFGround({
  required this.image,
  this.width,
  this.height,
  this.anchorX,
  this.anchorY,
  this.zoomLevel,
  this.bounds,
  this.position,
  this.transparency: 1.0,
  int zIndex: 0,
  bool visible: true,
}) : super(zIndex: zIndex, visible: visible);