ArcaneDialog constructor

const ArcaneDialog({
  1. String? title,
  2. Widget? child,
  3. List<Widget>? children,
  4. List<Widget>? actions,
  5. bool showCloseButton = true,
  6. void onClose()?,
  7. double maxWidth = 500,
  8. bool barrierDismissible = true,
  9. Key? key,
})

Implementation

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