fitBounds method
void
fitBounds(
- LatLngBounds bounds, {
- FitBoundsOptions? options = const FitBoundsOptions(padding: EdgeInsets.all(12.0)),
override
Fits the map bounds. Optional constraints can be defined
through the options
parameter.
Implementation
@override
void fitBounds(
LatLngBounds bounds, {
FitBoundsOptions? options =
const FitBoundsOptions(padding: EdgeInsets.all(12.0)),
}) {
_state.fitBounds(bounds, options!);
}