ArcaneDialog constructor

const ArcaneDialog({
  1. String? id,
  2. bool isOpen = false,
  3. String? title,
  4. Widget? child,
  5. List<Widget>? children,
  6. List<Widget>? actions,
  7. bool showCloseButton = true,
  8. void onClose()?,
  9. double maxWidth = 500,
  10. bool barrierDismissible = true,
  11. bool escapeCloses = true,
  12. bool focusTrap = true,
  13. bool restoreFocus = true,
  14. Key? key,
})

Implementation

const ArcaneDialog({
  this.id,
  this.isOpen = false,
  this.title,
  Widget? child,
  List<Widget>? children,
  this.actions,
  this.showCloseButton = true,
  this.onClose,
  this.maxWidth = 500,
  this.barrierDismissible = true,
  this.escapeCloses = true,
  this.focusTrap = true,
  this.restoreFocus = true,
  super.key,
})  : _child = child,
      _children = children,
      assert(child != null || children != null,
          'Either child or children must be provided');