BilalShahid13 / PersistentBottomNavBar

A highly customizable persistent bottom navigation bar for Flutter
BSD 3-Clause "New" or "Revised" License
507 stars 368 forks source link

How to rebuild the only screen that has tapped. #339

Open TimmyHung opened 8 months ago

TimmyHung commented 8 months ago

I have set stateManagement: false, but everytime I click the tab, all of the screen are rebuilt.Like I have screen A and B, when I tap menu A , menu A will rebuilt which is good but menu B will rebuilt and suddenly disposed.

Is there another way to only rebuild the only screen that has tapped? For instance screen A, B, C so when I tap menu A it will rebuild screen A, not B and C also.

Seems this is an existing issue for a long long time and no workaround yet.

AbdulazizAlnahhas commented 5 months ago

Any Solutions?