DrawerConfiguration<T> constructor
const
DrawerConfiguration<T> ({
- Anchor? anchor,
- required WidgetBuilder builder,
- OverlayPosition position = OverlayPosition.bottom,
- bool expands = false,
- bool draggable = true,
- bool barrierDismissible = true,
- WidgetBuilder? backdropBuilder,
- bool useSafeArea = true,
- bool? showDragHandle,
- BorderRadiusGeometry? borderRadius,
- Size? dragHandleSize,
- bool transformBackdrop = true,
- double? surfaceOpacity,
- double? surfaceBlur,
- Color? barrierColor,
- AnimationController? animationController,
- bool autoOpen = true,
- BoxConstraints? constraints,
- AlignmentGeometry? alignment,
Creates a DrawerConfiguration.
Implementation
const DrawerConfiguration({
this.anchor,
required this.builder,
this.position = OverlayPosition.bottom,
this.expands = false,
this.draggable = true,
this.barrierDismissible = true,
this.backdropBuilder,
this.useSafeArea = true,
this.showDragHandle,
this.borderRadius,
this.dragHandleSize,
this.transformBackdrop = true,
this.surfaceOpacity,
this.surfaceBlur,
this.barrierColor,
this.animationController,
this.autoOpen = true,
this.constraints,
this.alignment,
});