From 58982a90e3860e6629f917efc92082967fdabab5 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Sat, 19 Sep 2020 13:54:57 +0200 Subject: [PATCH] remove key in SimpleDialogOption --- .github/FUNDING.yml | 3 --- lib/selection_dialog.dart | 1 - pubspec.yaml | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index b8b48e7..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,3 +0,0 @@ -# These are supported funding model platforms - -github: [imtoori] diff --git a/lib/selection_dialog.dart b/lib/selection_dialog.dart index 8c36640..e7d8e68 100644 --- a/lib/selection_dialog.dart +++ b/lib/selection_dialog.dart @@ -115,7 +115,6 @@ class _SelectionDialogState extends State { else ...filteredElements.map( (e) => SimpleDialogOption( - key: Key(e.toLongString()), child: _buildOption(e), onPressed: () { _selectItem(e); diff --git a/pubspec.yaml b/pubspec.yaml index 53dd8f1..2ee12b1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -7,7 +7,7 @@ environment: sdk: ">=2.2.2 <3.0.0" dependencies: - modal_bottom_sheet: ^0.2.0+1 + modal_bottom_sheet: 0.2.0 flutter: sdk: flutter