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:
Jason Simmons
2022-05-13 12:57:59 -07:00
committed by GitHub
parent 708c363920
commit 275fb0286c
12 changed files with 7 additions and 22 deletions

View File

@@ -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?'),