how to implement routing in flutter code example
Example 1: named routes flutter
MaterialApp(
routes: {
'/':(context)=>HomePage(),
'/meals':(context)=>MealsPage(),
'/orders':(context)=>Orders(),
},
);
Example 2: page routing flutter
Page Navigation in flutter