Answers for "get data from args in flutter"

0

get data from args in flutter

var nextPageData = {foo:'bar'};

Navigator.push(
  context,
  MaterialPageRoute(builder: (context) => 
     MyNextPage(myData: nextPageData))
 );
Posted by: Guest on February-03-2021

Code answers related to "Dart"

Browse Popular Code Answers by Language