Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 21 additions & 16 deletions example/lib/screens/file_explorer/file_explorer_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,17 @@ class _FileExplorerCardState extends State<FileExplorerCard> {
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('.'),
],
);
}
Expand All @@ -97,14 +100,16 @@ class _FileExplorerCardState extends State<FileExplorerCard> {
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.'),
],
);
}
Expand Down
2 changes: 1 addition & 1 deletion example/lib/widgets/text_field_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class _TextFieldDialogState extends State<TextFieldDialog> {
),
),
actions: <Widget>[
DangerButton(
Button(
'Cancel',
onTap: () => Navigator.pop<String>(context),
),
Expand Down