Closed adminant closed 4 years ago
More specifically - when map is moved out of screen and returned back - it is fully rebuilt, so the scrolling of list with a map as of element is very laggy!
YandexMap
uses UiKitView
and AndroidView
flutter widgets to render itself(for iOS and Android respectively).
Scrolling, sizing is handled by those widgets.
This is a problem with those flutter widgets
This might be related to https://github.com/flutter/flutter/issues/34330
Yandex Map is used as an element of SliverList. During scrolling wnen approaching map's AndroidView element the scroll lags and element is always rebuilt. Other elements like Text or other native flutter components don't get rebuild when just scrolling list.