diff --git a/experimental/material_3_demo/lib/component_screen.dart b/experimental/material_3_demo/lib/component_screen.dart index f3456df8d..c484e96fb 100644 --- a/experimental/material_3_demo/lib/component_screen.dart +++ b/experimental/material_3_demo/lib/component_screen.dart @@ -1635,7 +1635,7 @@ class BottomSheetSection extends StatefulWidget { class _BottomSheetSectionState extends State { bool isNonModalBottomSheetOpen = false; - PersistentBottomSheetController? _nonModalBottomSheetController; + PersistentBottomSheetController? _nonModalBottomSheetController; @override Widget build(BuildContext context) { @@ -1722,7 +1722,7 @@ class _BottomSheetSectionState extends State { }); } - _nonModalBottomSheetController = showBottomSheet( + _nonModalBottomSheetController = showBottomSheet( elevation: 8.0, context: context, // TODO: Remove when this is in the framework https://github.com/flutter/flutter/issues/118619 diff --git a/material_3_demo/lib/component_screen.dart b/material_3_demo/lib/component_screen.dart index f3456df8d..c484e96fb 100644 --- a/material_3_demo/lib/component_screen.dart +++ b/material_3_demo/lib/component_screen.dart @@ -1635,7 +1635,7 @@ class BottomSheetSection extends StatefulWidget { class _BottomSheetSectionState extends State { bool isNonModalBottomSheetOpen = false; - PersistentBottomSheetController? _nonModalBottomSheetController; + PersistentBottomSheetController? _nonModalBottomSheetController; @override Widget build(BuildContext context) { @@ -1722,7 +1722,7 @@ class _BottomSheetSectionState extends State { }); } - _nonModalBottomSheetController = showBottomSheet( + _nonModalBottomSheetController = showBottomSheet( elevation: 8.0, context: context, // TODO: Remove when this is in the framework https://github.com/flutter/flutter/issues/118619