useAndroidViewSurface property
Set GoogleMapsFlutterPlatform to use AndroidViewSurface to build the Google Maps widget.
This implementation uses hybrid composition to render the Google Maps Widget on Android. This comes at the cost of some performance on Android versions below 10. See https://docs.flutter.dev/platform-integration/android/platform-views#performance for more information.
If set to true, the google map widget should be built with buildViewWithTextDirection instead of buildView.
Defaults to false.
Implementation
bool useAndroidViewSurface = false;