SheetRenderBase class abstract

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

Both share an identical DOM: an overlay wrapping a fixed panel that holds an optional drag handle, an optional header (with a title/description block and a close button, or a custom header), the content, and an optional footer. They differ only in the theme class prefix, the overlay backdrop styles, the drag handle color, the panel border, the close button styles, and the auto-generated surface id prefix.

The ShadCN sheet computes its panel placement and animations differently and therefore does not extend this base.

Inheritance

Constructors

SheetRenderBase(SheetProps props, {Key? key})
const

Properties

dragHandleColor String
Background color of the drag handle pill.
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
overlayBackdropStyles Map<String, String>
Inline styles appended to the overlay when SheetProps.showBackdrop is true (the backdrop color and any blur).
no setter
panelBorder String
Border applied to the header bottom and the footer top.
no setter
props SheetProps
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sheetCloseButtonStyles Map<String, String>
Inline styles for the close button.
no setter
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 SheetProps.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