Preguntas etiquetadas con flutter-alertdialog

15
¿Cómo descartar un AlertDialog en un clic FlatButton?
Tengo lo siguiente AlertDialog. showDialog( context: context, child: new AlertDialog( title: const Text("Location disabled"), content: const Text( """ Location is disabled on this device. Please enable it and try again. """), actions: [ new FlatButton( child: const Text("Ok"), onPressed: _dismissDialog, ), ], ), ); ¿Cómo puedo hacer que se _dismissDialog()despida …
Al usar nuestro sitio, usted reconoce que ha leído y comprende nuestra Política de Cookies y Política de Privacidad.
Licensed under cc by-sa 3.0 with attribution required.