Closed prateekmedia closed 3 years ago
Additional Info in pubspec yaml file
dependencies:
flutter:
sdk: flutter
carousel_slider: ^2.3.1
bottom_navy_bar: ^5.6.0
Remove the other dependency doesn't work either
Above is the issue with this code and I was Clicking really hard on the Buttons
This is other clip in which everything in pageView is working button clicking on Bottom Nav Bar doesnt seem to work
I removed pageController and page view that were causing problem and added Widget[_currentIndex] as Children to temporarily fix this issue.
Hi @prateekmedia Are you still facing this issue? Could you please tell me which version of this package are you using? Thanks
Actually the problem was that current index variable was not inside the build context.
Below is the code in my main.dart file, note that swiping behaviour works but the logic of pageController doesn't work.
I tried with both page Controller Jump to page and the animateToPage but it either disables clicking on the items or it doesnt change page and just clicking behaviour works and not page changing one.
Also I tried with and without SizedBox.expand as parent of Page View but it didn't work.
I will try to make a new project and try it again to see if its this package problem or not.