BilalShahid13 / PersistentBottomNavBar

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

Knowing which route is currently showing #278

Closed zehaoj closed 2 years ago

zehaoj commented 2 years ago

Hi! Awesome package!

Just one question, I'm having a route that does QR code scan, which used the camera. The problem is that it's always on no matter which route I'm currently on. Is there a way to know which route it's currently showing? Like a '_selectedIndex' parameter.

Thanks in advance!

zehaoj commented 2 years ago

Okay I didn't noticed the onItemSelected function in the PersistentTabView. Solved