fitBounds abstract method
Fits the map bounds. Optional constraints can be defined through the FitBoundsOptions parameter.
can accept center: LatLngBounds([20.0, 30.0
, 10, 10
])
LatLngBounds(LatLng(20.0, 30.0), LatLng(10.0, 10.0))
or [20.0, 30.0
, 10, 10
]
Implementation
void fitBounds(dynamic bounds, FitBoundsOptions options);