sheet library

Enums

SheetType

Constants

sheetFloatInset → const double
stackedSheetPeek → const double
A sheet shrinks back about its top behind a sheet that rises over it, and shows this much of itself above that one, as iOS 27's do.
stackedSheetScale → const double

Functions

bottomSheetRadiusOf(BuildContext context) → BorderRadius
floatingSheetRadius(BorderRadius? display, double float) → BorderRadius
A foot rounder than a square display's corners would show beside it.
showExtend<T>(BuildContext context, {required WidgetBuilder builder, ExtendProps props = const ExtendProps()}) → Future<T?>
showFormSheet<T>({required BuildContext context, required WidgetBuilder builder, SheetProps props = const SheetProps()}) → Future<T?>
Opens a form: a bottom sheet in the mobile layout, and elsewhere a card centered over the navigator, as iPad and macOS present a form sheet.
showSheet<T>({required BuildContext context, required WidgetBuilder builder, SheetProps props = const SheetProps()}) → Future<T?>
showSnapSheet<T>(BuildContext context, {required SnapSheetBuilder builder, double initialScrollOffset = 0}) → Future<T?>
Opens a sheet the reader can drag between snapSheetDetents, starting at the shortest. Where a sheet cannot have detents the content keeps its own scroll controller and initialScrollOffset is the caller's own business.