mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
@@ -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.'),
|
||||
actions: <Widget>[
|
||||
TextButton(
|
||||
child: const Text('Okay'),
|
||||
child: const Text('Dismiss'),
|
||||
onPressed: () => Navigator.of(context).pop(),
|
||||
),
|
||||
FilledButton(
|
||||
child: const Text('Dismiss'),
|
||||
child: const Text('Okay'),
|
||||
onPressed: () => Navigator.of(context).pop(),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user