Mopro
Mopro
Push Navigation: Adds a new screen above the currently displayed screen.For example, when a user presses a button to
view the details of an item.
Pop Navigation: Removes the screen from the stack, returning the user tothe previous screen.
Replacement Navigation: Replaces the current screen with a new screen,without adding to the stack.
Navigator.push(
context,
MaterialPageRoute(builder: (context) => SecondPage())
);