|
|
@ -733,11 +733,11 @@ class _DialogsState extends State<Dialogs> {
|
|
|
|
'A dialog is a type of modal window that appears in front of app content to provide critical information, or prompt for a decision to be made.'),
|
|
|
|
'A dialog is a type of modal window that appears in front of app content to provide critical information, or prompt for a decision to be made.'),
|
|
|
|
actions: <Widget>[
|
|
|
|
actions: <Widget>[
|
|
|
|
TextButton(
|
|
|
|
TextButton(
|
|
|
|
child: const Text('Okay'),
|
|
|
|
child: const Text('Dismiss'),
|
|
|
|
onPressed: () => Navigator.of(context).pop(),
|
|
|
|
onPressed: () => Navigator.of(context).pop(),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
FilledButton(
|
|
|
|
FilledButton(
|
|
|
|
child: const Text('Dismiss'),
|
|
|
|
child: const Text('Okay'),
|
|
|
|
onPressed: () => Navigator.of(context).pop(),
|
|
|
|
onPressed: () => Navigator.of(context).pop(),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|