dart navigation code example
Example: navigation flutter
Navigator.push(
context,
MaterialPageRoute(builder: (context) => SecondRoute()),
);
Navigator.push(
context,
MaterialPageRoute(builder: (context) => SecondRoute()),
);