-3

I want to use iOS style navigation in my flutter app and I tried many things but nothing worked so I decided to use page view to manage screens but I know that's not the proper method to manage routes so I just want to know how I can use navigation with bottom navigation bar in flutter.

Here is my source code:- https://github.com/dipak1267/BottombaNavigationFlutter.git

Dipak Ramoliya
  • 547
  • 11
  • 32

1 Answers1

1
  1. Use GestureDetector.onPanUpdate to detect a swipe like here: https://stackoverflow.com/a/55050804/11465355
  2. Use Navigator.pop(context) in order to navigate back once you detected the swipe
Heikkisorsa
  • 740
  • 9
  • 31