flutter_my_bottom_sheet library

Classes

CupertinoBottomSheet
Call CupertinoBottomSheet.of(context) in your children and pass scrollController to your inner scroll views. In this case, it won't be closed by a swipe if your inner scroll view is not in a 0 position
CupertinoBottomSheetAppBar
CupertinoBottomSheetRepaintBoundary
Wrap your MaterialApp with this widget like this Widget build(BuildContext context) { return CupertinoBottomSheetRepaintBoundary( child: MaterialApp( title: 'Flutter Cupertino Bottom Sheet', theme: ThemeData( primarySwatch: Colors.red, ), home: const TestPage(), ), ); }
CupertinoBottomSheetRoute
CupertinoBottomSheetRouteArgs
SwipeSettings

Properties

cupertinoBottomSheetNavigatorKey GlobalKey<NavigatorState>
can be used to simplify bottom sheet opening without the need for context
final

Functions

closeCupertinoBottomSheet<T>([T? result]) → void
openCupertinoBottomSheet({required ChildBuilder builder, CupertinoBottomSheetRouteArgs? args}) Future

Typedefs

ChildBuilder = Widget Function(BuildContext context)