maxBounds property
Restrict outer edges of map to LatLng Bounds, to prevent gray areas when panning or zooming. LatLngBounds(LatLng(-90, -180.0), LatLng(90.0, 180.0)) would represent the full extent of the map, so no gray area outside of it.
Implementation
final LatLngBounds? maxBounds;