ElDrawer constructor
const
ElDrawer({
- Key? key,
- dynamic show,
- Object? overlayId,
- bool keepAlive = true,
- VoidCallback? onInsert,
- VoidCallback? onRemove,
- ValueChanged<
bool?> ? onChanged, - required Widget overlayBuilder(
- BuildContext context
- Widget? child,
- bool? enabledDragFeedback,
- double? dragShowThreshold,
- double? dragHideThreshold,
- bool? enabledDrag,
- double? maxPrimarySize,
- AxisDirection direction = AxisDirection.left,
- Color? modalColor,
- bool ignoreModalPointer = false,
Implementation
const ElDrawer({
super.key,
super.show,
super.overlayId,
super.keepAlive = true,
super.onInsert,
super.onRemove,
super.onChanged,
required super.overlayBuilder,
this.child,
this.enabledDragFeedback,
this.dragShowThreshold,
this.dragHideThreshold,
this.enabledDrag,
this.maxPrimarySize,
this.direction = AxisDirection.left,
this.modalColor,
this.ignoreModalPointer = false,
}) : super(
rootOverlay: false,
preventBack: true,
transitionBuilder: _transitionBuilder,
builder: _builder,
);