Created
June 17, 2020 04:49
-
-
Save DevKhalyd/fb0d21d54c0f7fb3f933de8942bb7785 to your computer and use it in GitHub Desktop.
Material Dialog Flutter
This file contains 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
AlertDialog( | |
title: Text(title), | |
content: Text(description), | |
elevation: 16.0, | |
actions: [ | |
FlatButton(onPressed: onNegativePressed, child: Text('No')), | |
FlatButton(onPressed: onAffirmativePressed, child: Text('Yes')), | |
], | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment