diff --git a/example/lib/screens/file_explorer/file_explorer_card.dart b/example/lib/screens/file_explorer/file_explorer_card.dart index 35bdf7d..88e3d82 100644 --- a/example/lib/screens/file_explorer/file_explorer_card.dart +++ b/example/lib/screens/file_explorer/file_explorer_card.dart @@ -79,14 +79,17 @@ class _FileExplorerCardState extends State { action, callback, message: [ - normal('This action '), - bold('writes'), - normal(' to this file, '), - bold('it can '), - bold(red('corrupt the file ')), - normal('or'), - bold(red(' even lose your data')), - normal(', be cautious.'), + normal('You are '), + bold('writing'), + normal(' to this file and it is '), + bold('not a reversible action'), + normal('. It can '), + bold(red('corrupt the file')), + normal(' or '), + bold(red('cause data loss')), + normal(', '), + italic('be cautious'), + normal('.'), ], ); } @@ -97,14 +100,16 @@ class _FileExplorerCardState extends State { action, callback, message: [ - normal('This action '), - bold('writes'), - normal(' to this file, '), - bold('it can '), - bold(red('corrupt the file ')), - normal('or'), - bold(red(' even lose your data')), - normal(', be cautious.'), + normal('You are '), + bold('deleting'), + normal(' this folder, this is '), + bold('not reversible'), + normal(' and '), + bold(red('can cause data loss ')), + normal('or even'), + bold(red(' corrupt some apps')), + normal(' depending on which folder you are deleting, '), + italic('be cautious.'), ], ); } diff --git a/example/lib/widgets/text_field_dialog.dart b/example/lib/widgets/text_field_dialog.dart index 0ea4eb4..d38a4dc 100644 --- a/example/lib/widgets/text_field_dialog.dart +++ b/example/lib/widgets/text_field_dialog.dart @@ -51,7 +51,7 @@ class _TextFieldDialogState extends State { ), ), actions: [ - DangerButton( + Button( 'Cancel', onTap: () => Navigator.pop(context), ),