Fix avoid_redundant_argument_values analyzer warnings enabled in the latest Dart SDK (#103734)
See https://github.com/flutter/flutter/pull/103719
This commit is contained in:
@@ -275,7 +275,6 @@ class _LeaveBehindListItem extends StatelessWidget {
|
||||
Future<bool?> _showConfirmationDialog(BuildContext context, String action) {
|
||||
return showDialog<bool>(
|
||||
context: context,
|
||||
barrierDismissible: true,
|
||||
builder: (BuildContext context) {
|
||||
return AlertDialog(
|
||||
title: Text('Do you want to $action this item?'),
|
||||
|
||||
Reference in New Issue
Block a user