fitBounds method

void fitBounds(
  1. LatLngBounds bounds, {
  2. EdgeInsets padding = const EdgeInsets.all(20),
})

Implementation

void fitBounds(
  LatLngBounds bounds, {
  EdgeInsets padding = const EdgeInsets.all(20),
}) {
  _internalMapController?.fitCamera(
    CameraFit.bounds(bounds: bounds, padding: padding),
  );
}