BilalShahid13 / PersistentBottomNavBar

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

stateManagement is not working in emulator #104

Open Add00w opened 3 years ago

Add00w commented 3 years ago

stateManagement:false is not working for me in emulator @BilalShahid13 can u check this property plz.

BilalShahid96 commented 3 years ago

Does the example project with stateManagement:false work for you in the emulator? I never experienced any problem but I'll test it again.

Add00w commented 3 years ago

@BilalShahid96 didnt try the example one but I used in my real project

omerrciftcii commented 3 years ago

yes its not working,

BilalShahid13 commented 3 years ago

I tried to reproduce the error multiple times to no avail. Can you please try the sample project of the latest version?

iOSonntag commented 3 years ago

I found a solution, if u disable the screen animation with animateTabTransition: false, then stateManagement: false has no Effect. If u set animateTabTransition: true and duration: Duration(milliseconds: 1), stateManagement works as intended.

I know its not the best workaround for this issue but it works.