Created
October 16, 2020 17:26
-
-
Save antocara/683e0aae09388528c56e0066002751dc to your computer and use it in GitHub Desktop.
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
Widget _buildCupertinoAlertDialog() { | |
return CupertinoAlertDialog( | |
title: Text('Notificaciones'), | |
content: | |
Text("¿Desea recibir notificaciones? Serán muy pocas de verdad :)"), | |
actions: [ | |
FlatButton( | |
child: Text("Aceptar"), | |
textColor: Colors.blue, | |
onPressed: () { | |
Navigator.of(context).pop(); | |
}), | |
FlatButton( | |
child: Text("Cancelar"), | |
textColor: Colors.red, | |
onPressed: () { | |
Navigator.of(context).pop(); | |
}), | |
], | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment