widgets/sheet library Widgets

A sheet is a panel that slides in from the edge of a screen.

See:

Classes

FModalSheetMotion
The motion-related properties for a modal sheet.
FModalSheetRoute<T>
A route that represents a modal sheet. showFSheet should be preferred in most cases.
FModalSheetStyle
A modal sheet's style.
FPersistentSheetController
A sheet controller.
FPersistentSheetMotion
The motion-related properties for a persistent sheet.
FPersistentSheetStyle
A persistent sheet's style.
FSheetMotion
The motion-related properties for a sheet.
FSheets
Sheets that are displayed above its child. It is part of FScaffold, which should be preferred in most cases.
FSheetStyle
A sheet's style.

Functions

showFPersistentSheet({required BuildContext context, required FLayout side, required Widget builder(BuildContext context, FPersistentSheetController controller), FPersistentSheetStyle style(FPersistentSheetStyle)?, double? mainAxisMaxRatio = 9 / 16, BoxConstraints constraints = const BoxConstraints(), bool draggable = true, Offset? anchorPoint, bool useSafeArea = false, bool keepAliveOffstage = false, VoidCallback? onClosing, Key? key}) FPersistentSheetController
Shows a persistent sheet that appears above the current widget. It should have a FSheets or FScaffold ancestor.
showFSheet<T>({required BuildContext context, required WidgetBuilder builder, required FLayout side, bool useRootNavigator = false, FModalSheetStyle style(FModalSheetStyle style)?, double? mainAxisMaxRatio = 9 / 16, String? barrierLabel, bool barrierDismissible = true, BoxConstraints constraints = const BoxConstraints(), bool draggable = true, RouteSettings? routeSettings, AnimationController? transitionAnimationController, Offset? anchorPoint, bool useSafeArea = false, VoidCallback? onClosing}) Future<T?>
Shows a modal sheet that appears from the given side.