SHARE
TWEET

Untitled

a guest Jun 25th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) =>
  2.   SecondPage(stuffToSend: "yourStuff")));
  3.  
  4. class SecondPage{
  5.  SecondPage({this.stuffToSend});
  6.  var stuffToSend;
  7.  //the rest of your code
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top