sliding_sheet library

Classes

ParallaxSpec
A ParallaxSpec to create a parallax effect.
ScrollSpec
Defines the scroll effects, physics and more.
SheetController
A controller for a SlidingSheet.
SheetListenerBuilder
A widget that can be used to react to changes in the SheetState of a SlidingSheet.
SheetState
A data class containing state information about the SlidingSheet such as the extent and scroll offset.
SlidingSheet
A widget that can be dragged and scrolled in a single gesture and snapped to a list of extents.
SlidingSheetDialog
A wrapper class to show a SlidingSheet as a bottom sheet dialog.
SnapSpec
Defines how a SlidingSheet should snap, or if it should at all.

Enums

SnapPositioning
How the snaps will be positioned.

Functions

showSlidingBottomSheet<T>(BuildContext context, {required SlidingSheetDialog builder(BuildContext context), Widget parentBuilder(BuildContext context, SlidingSheet sheet)?, RouteSettings? routeSettings, bool useRootNavigator = false, bool resizeToAvoidBottomInset = true}) Future<T?>
Shows a SlidingSheet as a material design bottom sheet.

Typedefs

CustomSheetBuilder = Widget Function(BuildContext context, ScrollController controller, SheetState state)
OnDismissPreventedCallback = void Function(bool backButton, bool backDrop)
SheetBuilder = Widget Function(BuildContext context, SheetState state)
SheetListener = void Function(SheetState state)