DialogRenderBase class abstract

Shared structural base for the Neon-family dialog renderers (Neon and Neubrutalism).

Both share an identical DOM: an overlay wrapping a dialog surface that holds an optional close button, an optional h2 title, the content, and an optional actions row. They differ only in the theme class prefix, the overlay styles, the close button styles, and the auto-generated surface id prefix.

The ShadCN dialog uses a different DOM (a header/body/footer structure with the title inside the header) and therefore does not extend this base.

This base lives in core and depends only on core props and interaction helpers; it must never depend on a theme package.

Inheritance

Constructors

DialogRenderBase(DialogProps props, {Key? key})
const

Properties

closeButtonStyles Map<String, String>
Inline styles for the close button.
no setter
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one component replaces another component in the tree.
finalinherited
overlayStyles Map<String, String>
Inline styles for the overlay element.
no setter
props DialogProps
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
themePrefix String
CSS class prefix (e.g. 'neon', 'neubrutalism').
no setter

Methods

build(BuildContext context) Component
Describes the part of the user interface represented by this component.
override
createElement() Element
Creates a StatelessElement to manage this component's location in the tree.
inherited
decorationStyles(ArcaneDecoration? decoration) Map<String, String>
Per-instance decoration overrides. Default: none. A theme overrides this to translate an ArcaneDecoration (elevation intent, theme-specific fields) into its own CSS. Fields a theme does not implement are ignored.
generateAutoId() String
Generates the fallback surface id when DialogProps.id is null. Each theme keeps its own static counter so the generated id sequence is preserved.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldRebuild(covariant Component newComponent) bool
Implement this method to determine whether a rebuild can be skipped.
inherited
toString() String
A string representation of this object.
inherited

Operators

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