Flutter Bottom Navigation Bar

Flutter Bottom Navigation View - AndroidCoding.in

In your main.dart First return a MaterialApp in your build method

In the next page or on the same page initialize a new stateful widget with the same name you assigned in your body of the MaterialApp