smooth_sheets library
Comprehensive bottom sheet library supporting imperative and declarative navigation APIs, nested navigation, persistent and modal styles (including the iOS flavor), and more.
Classes
- AnimatedBottomBarVisibility
- A widget that animates the visibility of the child.
- BottomBarVisibility
- The base class of widgets that manage the visibility of the child based on the enclosing sheet's position.
- ClampingSheetPhysics
- ConditionalStickyBottomBarVisibility
- A widget that animates the visibility of the child based on a condition.
-
CupertinoModalSheetPage<
T> -
CupertinoModalSheetRoute<
T> - CupertinoModalStackedTransition
- CupertinoStackedTransition
- DefaultSheetController
- DragDownSheetKeyboardDismissBehavior
- A SheetKeyboardDismissBehavior that dismisses the on-screen keyboard only when the sheet is dragged down.
- DraggableSheet
- A sheet that can be dragged.
- DragSheetKeyboardDismissBehavior
- A SheetKeyboardDismissBehavior that always dismisses the on-screen keyboard when the sheet is dragged.
- DragUpSheetKeyboardDismissBehavior
- A SheetKeyboardDismissBehavior that dismisses the on-screen keyboard only when the sheet is dragged up.
- Extent
- A representation of a visible height of the sheet.
- ExtentDrivenAnimation
- FixedBottomBarVisibility
- A widget that places the child at the bottom of the enclosing sheet.
- FixedExtent
- An extent that has an concrete value in pixels.
- InterpolationSimulation
- A Simulation that interpolates between two values over a given duration.
-
ModalSheetPage<
T> -
ModalSheetRoute<
T> - ProportionalExtent
- An extent that is proportional to the content height.
- ResizeScaffoldBehavior
- Describes how a SheetContentScaffold should resize its body to avoid overlapping the onscreen keyboard.
- ScrollableSheet
- SheetContentScaffold
- SheetController
- SheetDragDetails
- Represents the details of a drag event on a sheet.
- SheetDragEndDetails
- Details for when a sheet drag ends.
- SheetDragEndNotification
- A SheetNotification that is dispatched when the user stops dragging the sheet.
- SheetDraggable
- A widget that makes its child as a drag-handle for a sheet.
- SheetDragStartDetails
- Details for the start of a sheet drag.
- SheetDragStartNotification
- A SheetNotification that is dispatched when the user starts dragging the sheet.
- SheetDragUpdateDetails
- Details about the update of a sheet drag gesture.
- SheetDragUpdateNotification
- A SheetNotification that is dispatched when the sheet is dragged.
- SheetKeyboardDismissBehavior
- Determines when the on-screen keyboard should be dismissed.
- SheetKeyboardDismissible
- A widget that dismisses the on-screen keyboard when the user drags the sheet below this widget.
- SheetMetrics
- An immutable snapshot of the sheet's state.
- SheetNotification
- A Notification that is dispatched when the sheet extent changes.
- SheetOverflowNotification
- A SheetNotification that is dispatched when the user tries to drag the sheet beyond its draggable bounds but the sheet has not changed its extent because its SheetPhysics does not allow it to be.
- SheetPhysics
- SheetScrollable
- SheetTheme
- A theme for descendant sheets.
- SheetThemeData
- A set of properties that describe the appearance and behavior of a sheet.
- SheetUpdateNotification
- A SheetNotification that is dispatched when the sheet extent is updated by other than user interaction such as animation.
- SnappingSheetBehavior
- SnappingSheetPhysics
- SnapToNearest
- SnapToNearestEdge
- A SnappingSheetBehavior that snaps to either SheetMetrics.minPixels or SheetMetrics.maxPixels based on the current sheet position and the gesture velocity.
- StickyBottomBarVisibility
- A widget that keeps the child always visible regardless of the sheet position.
- StretchingSheetPhysics
Enums
- SheetStatus
- The status of a sheet.
Mixins
Constants
- kDefaultSheetPhysics → const StretchingSheetPhysics
- The default SheetPhysics used by sheet widgets.
- kDefaultSheetSpring → const SpringDescription
- The default SpringDescription used by SheetPhysics subclasses.
Typedefs
-
ExtentScopeBuilder
= SheetExtentScope Function(SheetExtentScopeKey<
SheetExtent> key, Widget child)