CameraPosition constructor

const CameraPosition({
  1. double bearing = 0.0,
  2. required LatLng target,
  3. double tilt = 0.0,
  4. double zoom = 10,
})

构造一个CameraPosition 对象

如果bearing, target, tilt, 或者 zoom 为null时会返回AssertionError

Implementation

const CameraPosition({
  this.bearing = 0.0,
  required this.target,
  this.tilt = 0.0,
  this.zoom = 10,
});