ElDrawer constructor

const ElDrawer({
  1. Key? key,
  2. dynamic show,
  3. Object? overlayId,
  4. bool keepAlive = true,
  5. VoidCallback? onInsert,
  6. VoidCallback? onRemove,
  7. ValueChanged<bool?>? onChanged,
  8. required Widget overlayBuilder(
    1. BuildContext context
    ),
  9. Widget? child,
  10. bool? enabledDragFeedback,
  11. double? dragShowThreshold,
  12. double? dragHideThreshold,
  13. bool? enabledDrag,
  14. double? maxPrimarySize,
  15. AxisDirection direction = AxisDirection.left,
  16. Color? modalColor,
  17. 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,
     );