bottom_sheet library Null safety

Classes

FlexibleBottomSheet
Flexible and scrollable bottom sheet. [...]
FlexibleBottomSheetHeaderDelegate
Delegate for configuring a SliverPersistentHeader.
FlexibleDraggableScrollableNotification
A Notification related to the extent, which is the size, and scroll offset, which is the position of the child list, of the FlexibleDraggableScrollableSheet. [...]
FlexibleDraggableScrollableSheet
A container for a Scrollable that responds to drag gestures by resizing the scrollable until a limit is reached, and then scrolling. [...]
FlexibleDraggableScrollableSheetScrollController
A ScrollController suitable for use in a ScrollableWidgetBuilder created by a FlexibleDraggableScrollableSheet. [...]
FlexibleDraggableSheetExtent
Manages state between _FlexibleDraggableScrollableSheetState, FlexibleDraggableScrollableSheetScrollController, and _FlexibleDraggableScrollableSheetScrollPosition. [...]

Functions

showFlexibleBottomSheet<T>({required BuildContext context, required FlexibleDraggableScrollableWidgetBuilder builder, double? minHeight, double? initHeight, double? maxHeight, bool isCollapsible = true, bool isDismissible = true, bool isExpand = true, bool useRootNavigator = false, bool isModal = true, List<double>? anchors}) Future<T?>
Shows a flexible bottom sheet. [...]
showStickyFlexibleBottomSheet<T>({required BuildContext context, required FlexibleDraggableScrollableHeaderWidgetBuilder headerBuilder, required FlexibleDraggableScrollableWidgetBodyBuilder bodyBuilder, double? minHeight, double? initHeight, double? maxHeight, bool isCollapsible = true, bool isDismissible = true, bool isExpand = true, bool useRootNavigator = false, bool isModal = true, List<double>? anchors, double? minHeaderHeight, double? maxHeaderHeight, double? headerHeight, Decoration? decoration}) Future<T?>
Shows a flexible bottom sheet with the ability to scroll content even without a list. [...]

Typedefs

FlexibleDraggableScrollableHeaderWidgetBuilder = Widget Function(BuildContext context, double bottomSheetOffset)
The signature of the method that provides BuildContext and bottomSheetOffset for determining the position of the BottomSheet relative to the upper border of the screen. bottomSheetOffset - fractional value of offset.
FlexibleDraggableScrollableWidgetBodyBuilder = SliverChildDelegate Function(BuildContext context, double bottomSheetOffset)
The signature of a method that provides a BuildContext and bottomSheetOffset for determining the position of the BottomSheet relative to the upper border of the screen. bottomSheetOffset - fractional value of offset.
FlexibleDraggableScrollableWidgetBuilder = Widget Function(BuildContext context, FlexibleDraggableScrollableSheetScrollController scrollController, double bottomSheetOffset)
The signature of a method that provides a BuildContext and ScrollController for building a widget that may overflow the draggable Axis of the containing FlexibleDraggableScrollSheet. [...]