jb3rndt / PersistentBottomNavBarV2

A highly customizable persistent bottom navigation bar for Flutter
https://pub.dev/packages/persistent_bottom_nav_bar_v2
BSD 3-Clause "New" or "Revised" License
47 stars 48 forks source link

Is it possible that stateManagement can affect Google Maps Flutter? #175

Closed kawi15 closed 1 week ago

kawi15 commented 1 week ago

I am wondering, following to this: https://github.com/flutter/flutter/issues/150975 if this plugin and his stateManagement can affect google maps?

I have in one of my tab implemented google maps and it is working smooth and fine, but when I came back to app which was some time in background, it came back to first index and then when I opened tab with maps, they started lagging.

I wonder if it's somehow possible?

I have this code in my onTabChanged function, I don't know at all, maybe it can generate trouble?

if (Navigator.canPop(selectedTabContext!)) {
            Navigator.of(selectedTabContext!).popUntil((route) => route.isFirst);
}
jb3rndt commented 1 week ago

Hm, no I dont know of any effects on packages like google maps and have not seen similar problems.