DrawerContainerData constructor

const DrawerContainerData({
  1. required OverlayPosition position,
  2. required Size size,
  3. required int stackIndex,
  4. bool expands = false,
  5. bool draggable = true,
  6. bool showDragHandle = true,
  7. Size? dragHandleSize,
  8. BorderRadiusGeometry? borderRadius,
  9. EdgeInsets padding = EdgeInsets.zero,
  10. EdgeInsets margin = EdgeInsets.zero,
  11. double? surfaceOpacity,
  12. double? surfaceBlur,
  13. Color? barrierColor,
  14. double? gapBeforeDragger,
  15. double? gapAfterDragger,
  16. BoxConstraints? constraints,
  17. AlignmentGeometry? alignment,
  18. Animation<double>? fadeAnimation,
  19. Size extraSize = Size.zero,
  20. 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,
});