Answers for "while click of a item it will navigate to screen in flutter"

16

flutter navigate to new screen

// Within the `FirstRoute` widget
onPressed: () {
  Navigator.push(
    context,
    MaterialPageRoute(builder: (context) => SecondRoute()),
  );
}
Posted by: Guest on March-25-2020
2

Navigate to a new screen in Flutter - Stack Overflow

Navigator.push(
    context,
    MaterialPageRoute(builder: (context) => SecondRoute()),
  );
Posted by: Guest on September-12-2021

Code answers related to "while click of a item it will navigate to screen in flutter"

Browse Popular Code Answers by Language