adaptive_smooth_sheets library

Classes

AdaptiveSheetConfig
Per-route behavior and optional overrides for an adaptive sheet.
AdaptiveSheetNavigator
Navigates between pages inside an adaptive sheet or closes the whole modal.
AdaptiveSheetPage<T>
Describes one page in an adaptive sheet's internal navigation stack.
AdaptiveSheetPageTransition
Describes an internal adaptive-sheet page transition without exposing Smooth Sheets route types.
AdaptiveSheetPopScope<T>
Controls whether the current adaptive sheet can be dismissed.
AdaptiveSheetPresentationPolicy
Controls how an adaptive sheet chooses its current presentation.
AdaptiveSheetScaffold
A generic adaptive-sheet layout with optional fixed top and bottom bars.
AdaptiveSheetScope
Exposes an adaptive route's current presentation and effective theme.
AdaptiveSheetScrollController
The primary controller shared by scroll views in an adaptive sheet page.
AdaptiveSheetThemeData
Flutter-only defaults for adaptive sheet routes and outer surfaces.
BouncingSheetPhysics
A SheetPhysics that allows the sheet to go beyond the offset bounds defined by SheetMetrics.minOffset and SheetMetrics.maxOffset.
ClampingSheetPhysics
SheetPhysics

Enums

AdaptiveSheetNativeBackBehavior
Controls how a native platform Back request affects an adaptive sheet.
AdaptiveSheetPresentation
The visual presentation used for an adaptive sheet route.

Functions

showAdaptiveSheet<T>({required BuildContext context, required AdaptiveSheetPage<T> page, AdaptiveSheetConfig config = const AdaptiveSheetConfig()}) → Future<T?>
Shows a modal containing one initial AdaptiveSheetPage.

Typedefs

AdaptiveSheetPageTransitionBuilder = Widget Function(BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation, Widget child)
Builds the visual transition for one page in an adaptive sheet.
AdaptiveSheetPresentationResolver = AdaptiveSheetPresentation Function(BuildContext context)
Selects a presentation using values available from context.