OverviewViewportState constructor
- required GeometryObject geometry,
- EdgeInsets geometryPadding = const EdgeInsets.all(0),
- double? bearing = 0.0,
- double? pitch = 0.0,
- double? maxZoom,
- Offset? offset,
- 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();