SHARE
TWEET

Untitled

a guest Aug 14th, 2019 38 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class _MyHomePageState extends State<MyHomePage> {
  2.   AlertDialog _dialog(String title) {
  3.     return AlertDialog(
  4.       title: Text(title),
  5.       actions: <Widget>[
  6.         FlatButton(
  7.           child: Text('back'),
  8.           onPressed: () {
  9.             Navigator.pop(context);
  10.           },
  11.         ),
  12.       ],
  13.     );
  14.   }
  15. // ...  
  16. }
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