DrawerContainerData constructor
const
DrawerContainerData({
- required OverlayPosition position,
- required Size size,
- required int stackIndex,
- bool expands = false,
- bool draggable = true,
- bool showDragHandle = true,
- Size? dragHandleSize,
- BorderRadiusGeometry? borderRadius,
- EdgeInsets padding = EdgeInsets.zero,
- EdgeInsets margin = EdgeInsets.zero,
- double? surfaceOpacity,
- double? surfaceBlur,
- Color? barrierColor,
- double? gapBeforeDragger,
- double? gapAfterDragger,
- BoxConstraints? constraints,
- AlignmentGeometry? alignment,
- Animation<
double> ? fadeAnimation, - Size extraSize = Size.zero,
- double overscroll = 0,
Creates a drawer container configuration.
Implementation
const DrawerContainerData({
required this.position,
required this.size,
required this.stackIndex,
this.expands = false,
this.draggable = true,
this.showDragHandle = true,
this.dragHandleSize,
this.borderRadius,
this.padding = EdgeInsets.zero,
this.margin = EdgeInsets.zero,
this.surfaceOpacity,
this.surfaceBlur,
this.barrierColor,
this.gapBeforeDragger,
this.gapAfterDragger,
this.constraints,
this.alignment,
this.fadeAnimation,
this.extraSize = Size.zero,
this.overscroll = 0,
});