Skip to content

Commit

Permalink
Fixing linter items.
Browse files Browse the repository at this point in the history
  • Loading branch information
edufolly committed May 14, 2024
1 parent fc96e31 commit 6c9c823
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions example/lib/code_link.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ class CodeLink extends StatelessWidget {

showDialog(
context: context,
barrierDismissible: true,
builder: (BuildContext context) {
return AlertDialog(
title: Text(tag),
Expand Down Expand Up @@ -132,7 +131,6 @@ class CodeLink extends StatelessWidget {
],
);
},
useSafeArea: true,
);
}

Expand Down
3 changes: 1 addition & 2 deletions lib/widgets/folly_dialogs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ class FollyDialogs {

String? value = await showDialog(
context: context,
barrierDismissible: true,
builder: (BuildContext context) {
return AlertDialog(
title: Text(title),
Expand Down Expand Up @@ -90,7 +89,7 @@ class FollyDialogs {
),
actions: <Widget>[
ElevatedButton(
onPressed: () => Navigator.of(context).pop(null),
onPressed: () => Navigator.of(context).pop(),
child: Text(cancelLabel),
),
TextButton(
Expand Down

0 comments on commit 6c9c823

Please sign in to comment.