diff --git a/experimental/material_3_demo/lib/component_screen.dart b/experimental/material_3_demo/lib/component_screen.dart index f2ce8d374..f3456df8d 100644 --- a/experimental/material_3_demo/lib/component_screen.dart +++ b/experimental/material_3_demo/lib/component_screen.dart @@ -733,11 +733,11 @@ class _DialogsState extends State { '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: [ 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(), ), ], diff --git a/material_3_demo/lib/component_screen.dart b/material_3_demo/lib/component_screen.dart index f2ce8d374..f3456df8d 100644 --- a/material_3_demo/lib/component_screen.dart +++ b/material_3_demo/lib/component_screen.dart @@ -733,11 +733,11 @@ class _DialogsState extends State { '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: [ 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(), ), ],