CameraFit.insideBounds constructor

const CameraFit.insideBounds({
  1. required LatLngBounds bounds,
  2. EdgeInsets padding,
  3. double? maxZoom,
  4. double minZoom,
  5. bool forceIntegerZoomLevel,
})

Fits the camera inside the bounds

For information about available options, see the documentation on the appropriate properties.

Implementation

const factory CameraFit.insideBounds({
  required LatLngBounds bounds,
  EdgeInsets padding,
  double? maxZoom,
  double minZoom,
  bool forceIntegerZoomLevel,
}) = FitInsideBounds._;