"Adds style to the GoogleMap widget constructor. This allows setting the map style during creation, avoiding the possibility of the default style being displayed briefly.
Deprecates GoogleMapController.setMapStyle in favor of setting the style via the new widget style parameter."
Previously, we could call
Now as per https://pub.dev/packages/google_maps_flutter/changelog#260
"Adds style to the GoogleMap widget constructor. This allows setting the map style during creation, avoiding the possibility of the default style being displayed briefly. Deprecates GoogleMapController.setMapStyle in favor of setting the style via the new widget style parameter."
Eg if someone had a dark theme with Google Maps: https://github.com/flutter/flutter/issues/144524