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:
Michael Goderbauer
2023-11-03 15:25:37 -07:00
committed by GitHub
parent 6f5ca8542c
commit 8a0f9118ea
19 changed files with 65 additions and 69 deletions

View File

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