OverviewViewportState constructor

const OverviewViewportState({
  1. required GeometryObject geometry,
  2. EdgeInsets geometryPadding = const EdgeInsets.all(0),
  3. double? bearing = 0.0,
  4. double? pitch = 0.0,
  5. double? maxZoom,
  6. Offset? offset,
  7. Duration animationDuration = const Duration(seconds: 1),
})

Creates an OverviewViewportState that configures the camera to display an overview of the specified geometry.

Implementation

const OverviewViewportState({
  required this.geometry,
  this.geometryPadding = const EdgeInsets.all(0),
  this.bearing = 0.0,
  this.pitch = 0.0,
  this.maxZoom,
  this.offset,
  this.animationDuration = const Duration(seconds: 1),
}) : super();