FollowPuckViewportState constructor

const FollowPuckViewportState({
  1. double? zoom = 16.35,
  2. FollowPuckViewportStateBearing? bearing = const FollowPuckViewportStateBearingHeading(),
  3. double? pitch = 45,
  4. MbxEdgeInsets? padding,
})

Creates a FollowPuckViewportState that configures the camera to follow the user's location indicator.

Implementation

const FollowPuckViewportState({
  this.zoom = 16.35,
  this.bearing = const FollowPuckViewportStateBearingHeading(),
  this.pitch = 45,
  this.padding,
}) : super();