remove key in SimpleDialogOption
This commit is contained in:
3
.github/FUNDING.yml
vendored
3
.github/FUNDING.yml
vendored
@@ -1,3 +0,0 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
github: [imtoori]
|
||||
@@ -115,7 +115,6 @@ class _SelectionDialogState extends State<SelectionDialog> {
|
||||
else
|
||||
...filteredElements.map(
|
||||
(e) => SimpleDialogOption(
|
||||
key: Key(e.toLongString()),
|
||||
child: _buildOption(e),
|
||||
onPressed: () {
|
||||
_selectItem(e);
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user