ArcaneDialog constructor
const
ArcaneDialog({
- String? id,
- bool isOpen = false,
- String? title,
- Widget? child,
- List<
Widget> ? children, - List<
Widget> ? actions, - bool showCloseButton = true,
- void onClose()?,
- double maxWidth = 500,
- bool barrierDismissible = true,
- bool escapeCloses = true,
- bool focusTrap = true,
- bool restoreFocus = true,
- ArcaneStyleData? styles,
- ArcaneDecoration? decoration,
- 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,
this.styles,
this.decoration,
super.key,
}) : _child = child,
_children = children,
assert(child != null || children != null,
'Either child or children must be provided');