forked from firka/flutter
Remove unused generic type from BottomSheet (#137791)
Fixes https://github.com/flutter/flutter/issues/137424. The generic type argument was unused.
This commit is contained in:
committed by
GitHub
parent
6f5ca8542c
commit
8a0f9118ea
@@ -220,7 +220,7 @@ class RootPage extends StatelessWidget {
|
||||
return ElevatedButton(
|
||||
style: buttonStyle,
|
||||
onPressed: () {
|
||||
showBottomSheet<void>(
|
||||
showBottomSheet(
|
||||
context: context,
|
||||
builder: (BuildContext context) {
|
||||
return Container(
|
||||
|
||||
Reference in New Issue
Block a user