DialogProps class

Dialog component properties.

Constructors

DialogProps({String? id, bool isOpen = false, String? title, required List<Widget> content, 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})
const

Properties

actions → List<Widget>?
final
barrierDismissible → bool
final
content → List<Widget>
final
decoration → ArcaneDecoration?
Semantic, theme-interpreted decoration (elevation intent + theme-specific fields honored-or-ignored per theme).
final
escapeCloses → bool
final
focusTrap → bool
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
final
isOpen → bool
final
maxWidth → double
final
onClose → void Function()?
final
restoreFocus → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showCloseButton → bool
final
styles → ArcaneStyleData?
Literal, theme-permeable style override (always applied, wins over theme).
final
title → String?
final

Methods

copyWith({String? id, bool? isOpen, String? title, List<Widget>? content, List<Widget>? actions, bool? showCloseButton, void onClose()?, double? maxWidth, bool? barrierDismissible, bool? escapeCloses, bool? focusTrap, bool? restoreFocus, ArcaneStyleData? styles, ArcaneDecoration? decoration}) → DialogProps
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited