DrawerRenderBase class abstract

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

Both share an identical DOM: a single overlay (carrying the optional backdrop) wrapping a fixed panel that holds an optional header (a flexible header slot plus a close button), the content, and an optional footer. They differ only in the theme class prefix, the panel-edge border, the overlay backdrop styles, the panel decoration styles, the header/footer border, the close button styles, and the auto-generated surface id prefix.

The ShadCN drawer uses a different DOM (a container with a separate backdrop element and pointer-events toggling) 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

DrawerRenderBase(DrawerProps 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
headerFooterBorder String
Border applied to the header bottom and the footer top.
no setter
key Key?
Controls how one component replaces another component in the tree.
finalinherited
overlayBackdropStyles Map<String, String>
Inline styles appended to the overlay when DrawerProps.showBackdrop is true (the backdrop color and any blur).
no setter
panelDecorationStyles Map<String, String>
Decoration styles appended to the panel after its layout styles (background, shadow, blur, overflow).
no setter
positionBorder String
Border applied to the panel edge that faces the viewport interior.
no setter
props DrawerProps
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 DrawerProps.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