Created
June 17, 2020 04:41
-
-
Save DevKhalyd/a7224486ef9d433994686081bce73b90 to your computer and use it in GitHub Desktop.
Cupertino 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
CupertinoAlertDialog( | |
title: Text(title), | |
content: Text(description), | |
actions: [ | |
CupertinoDialogAction( | |
child: Text('No'), | |
onPressed: onNegativePressed, | |
), | |
CupertinoDialogAction( | |
child: Text('Yes'), | |
onPressed: onAffirmativePressed, | |
), | |
], | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment