useAndroidViewSurface property

bool useAndroidViewSurface
getter/setter pair

Whether to render YandexMap with a AndroidViewSurface to build the Google Maps widget.

This implementation uses hybrid composition to render the YandexMap Widget on Android. This comes at the cost of some performance on Android versions below 10. See https://flutter.dev/docs/development/platform-integration/platform-views#performance for more information.

Defaults to true.

Implementation

static bool useAndroidViewSurface = true;