remove key in SimpleDialogOption

This commit is contained in:
Salvatore Giordano
2020-09-19 13:54:57 +02:00
parent d13671acaf
commit 58982a90e3
3 changed files with 1 additions and 5 deletions

3
.github/FUNDING.yml vendored
View File

@@ -1,3 +0,0 @@
# These are supported funding model platforms
github: [imtoori]

View File

@@ -115,7 +115,6 @@ class _SelectionDialogState extends State<SelectionDialog> {
else
...filteredElements.map(
(e) => SimpleDialogOption(
key: Key(e.toLongString()),
child: _buildOption(e),
onPressed: () {
_selectItem(e);

View File

@@ -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