Last active
June 7, 2019 00:59
-
-
Save kakobayashi/2a3179f0951c8f45852568ae8c73c137 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RaisedButton( | |
| onPressed: () { | |
| showDialog( | |
| context: context, | |
| builder: (context) { | |
| return AlertDialog( | |
| title: Text("タイトル"), | |
| content: Text("メッセージメッセージメッセージメッセージメッセージメッセージ"), | |
| actions: <Widget>[ | |
| FlatButton( | |
| child: Text("Cancel"), | |
| onPressed: () => Navigator.pop(context), | |
| ), | |
| FlatButton( | |
| child: Text("OK"), | |
| onPressed: () => Navigator.pop(context), | |
| ), | |
| ], | |
| ); | |
| }, | |
| ); | |
| }, | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment