Answers for "flutter how to get call back from current page to previous page"

0

flutter how to get call back from current page to previous page

Future<void> _goToPage2() async {
  await Navigator.push(
    context,
    MaterialPageRoute(
      builder: (context) => Page2(),
    ),
  );
  print("Page2 is poped");
}
Posted by: Guest on March-25-2021

Code answers related to "flutter how to get call back from current page to previous page"

Browse Popular Code Answers by Language