generated/arcane_shadcn/src/components/overlay/drawer library

Constants

kBackdropScaleDown → const double

Functions

closeDrawer<T>(BuildContext context, [T? result]) Future<void>
closeSheet(BuildContext context) Future<void>
openDrawer<T>({required BuildContext context, required WidgetBuilder builder, required OverlayPosition position, bool expands = false, bool draggable = true, bool barrierDismissible = true, WidgetBuilder? backdropBuilder, bool useSafeArea = true, bool showDragHandle = true, BorderRadiusGeometry? borderRadius, Size? dragHandleSize, bool transformBackdrop = true, double? surfaceOpacity, double? surfaceBlur, Color? barrierColor}) Future<T?>
openRawDrawer<T>({Key? key, required BuildContext context, required DrawerBuilder builder, required OverlayPosition position, bool transformBackdrop = true, bool useRootDrawerOverlay = true, bool modal = true, Color? barrierColor, bool barrierDismissible = true, WidgetBuilder? backdropBuilder, bool useSafeArea = true}) DrawerOverlayCompleter<T?>
openSheet<T>({required BuildContext context, required WidgetBuilder builder, required OverlayPosition position, bool barrierDismissible = true, bool transformBackdrop = false, Color? barrierColor}) Future<T?>

Typedefs

BackdropBuilder = Widget Function(BuildContext context, Widget child, Animation<double> animation, int stackIndex)
BarrierBuilder = Widget? Function(BuildContext context, Widget child, Animation<double> animation, int stackIndex)
DrawerBuilder = Widget Function(BuildContext context, Size extraSize, Size size, EdgeInsets padding, int stackIndex)