daily pastebin goal
57%
SHARE
TWEET

Untitled

a guest Mar 22nd, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. RaisedButton(
  2.   onPressed: () async {
  3.     String value = await Navigator.push(context,
  4.       MaterialPageRoute<String>(
  5.         builder: (BuildContext context) {
  6.           return Center(
  7.             child: GestureDetector(
  8.               child: Text("Ok"),
  9.               onTap: () {
  10.                 Navigator.pop(context, "Audio1");
  11.               },
  12.             ),
  13.           );
  14.         }
  15.       )
  16.     );
  17.     print(value);
  18.   },
  19.   child: Text('Return'),
  20. );
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