ElDialog constructor

const ElDialog({
  1. Key? key,
  2. dynamic show,
  3. Duration? duration,
  4. bool keepAlive = true,
  5. required Widget overlayBuilder(
    1. BuildContext context
    ),
  6. Widget? child,
  7. double? size,
  8. Color? modalColor,
  9. bool ignoreModalPointer = false,
})

Implementation

const ElDialog({
  super.key,
  super.show,
  super.duration,
  super.keepAlive = true,
  required super.overlayBuilder,
  this.child,
  this.size,
  this.modalColor,
  this.ignoreModalPointer = false,
}) : super(
       rootOverlay: false,
       preventBack: true,
       transitionBuilder: _transitionBuilder,
       builder: _builder,
     );