rafalbednarczuk / curved_navigation_bar

Animated Curved Navigation Bar in Flutter
BSD 2-Clause "Simplified" License
694 stars 242 forks source link

letIndexChange false issue #95

Closed kauramanp closed 3 years ago

kauramanp commented 3 years ago

Hello I would like to change the index of the sheet if a particular condition is meet and it should not automatically change the position on tap. For that I have used letIndexChange = false, this in my case is making every item non clickable. Any solution regarding this will be useful.

rafalbednarczuk commented 3 years ago

Use index property from the function to control specific button

letIndexChange: (index) { 
//if something then 
return true;
//if something else then
return false;
}