martin-braun-net / google_maps_place_picker_mb

Place picker on Google Maps for Flutter
https://pub.dev/packages/google_maps_place_picker_mb
MIT License
33 stars 96 forks source link

'useAndroidViewSurface' is deprecated and shouldn't be used. #77

Closed caibimiaokong closed 1 year ago

caibimiaokong commented 1 year ago

In the main function,

void main() {
  if(Platform.isAndroid) {
    AndroidGoogleMapsFlutter.useAndroidViewSurface = true;
  }
  return runApp(MyApp());
}

AndroidGoogleMapsFlutter.useAndroidViwSurface = true is deprecated, What should I replace with?

martin-braun commented 1 year ago

You probably guessed that you can simply remove it. This was a way to toggle into a new render mode which should be stable and enabled by default at this point.