fitBounds abstract method

void fitBounds(
  1. LatLngBounds bounds, {
  2. FitBoundsOptions? options,
})

Fits the map bounds. Optional constraints can be defined through the options parameter.

Implementation

void fitBounds(LatLngBounds bounds, {FitBoundsOptions? options});