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
@@ -1579,7 +1579,7 @@ class BottomSheetSection extends StatefulWidget {
|
||||
|
||||
class _BottomSheetSectionState extends State<BottomSheetSection> {
|
||||
bool isNonModalBottomSheetOpen = false;
|
||||
PersistentBottomSheetController<void>? _nonModalBottomSheetController;
|
||||
PersistentBottomSheetController? _nonModalBottomSheetController;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -1663,7 +1663,7 @@ class _BottomSheetSectionState extends State<BottomSheetSection> {
|
||||
});
|
||||
}
|
||||
|
||||
_nonModalBottomSheetController = showBottomSheet<void>(
|
||||
_nonModalBottomSheetController = showBottomSheet(
|
||||
elevation: 8.0,
|
||||
context: context,
|
||||
constraints: const BoxConstraints(maxWidth: 640),
|
||||
|
||||
Reference in New Issue
Block a user