CameraViewportState constructor

const CameraViewportState({
  1. Point? center,
  2. EdgeInsets? padding,
  3. Offset? anchor,
  4. double? zoom,
  5. double? bearing,
  6. double? pitch,
})

Creates a CameraViewportState with the specified camera properties.

Implementation

const CameraViewportState({
  this.center,
  this.padding,
  this.anchor,
  this.zoom,
  this.bearing,
  this.pitch,
}) : super();