SelectRenderBase<T> class abstract

Shared structural base for the neon/neubrutalism select renderers.

These two themes render an identical popover-select tree — the wrapper, the label/required asterisk, the trigger button with its prefix/display/clear/ chevron, the dropdown surface/group attribute wiring, the search box, the loading/empty states and the per-option buttons (with their group-item and interaction attributes, keyword payload and label/subtitle/description layout) all match byte-for-byte. They diverge only in style values, the surface-id prefix, the accent/border colors and a handful of per-node style maps, which are exposed as abstract members.

The ShadCN select is structurally divergent (a different size config, a wrapper element, a trigger loading spinner, a different attribute set and a different option layout) and is left standalone.

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

Inheritance

Constructors

SelectRenderBase(SelectProps<T> props, {Key? key})
const

Properties

classPrefix String
Theme class prefix (e.g. 'neon', 'neubrutalism').
no setter
controlBorderColor String
Border color used by the trigger when there is no error.
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
optionCheckColor String
Color of the checkmark inside a selected multi-select checkbox.
no setter
props SelectProps<T>
final
requiredAsteriskColor String
Color for the required-field asterisk.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchInputStyles Map<String, String>
Inline styles for the search input.
no setter
searchWrapperStyles Map<String, String>
Inline styles for the search-box wrapper.
no setter
surfaceIdPrefix String
Prefix used to derive a fallback surface id (e.g. 'neon-select-').
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 for the trigger. 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.
Full inline style map for the dropdown surface.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
optionCheckboxStyles(bool isSelected) Map<String, String>
Inline styles for the multi-select checkbox box of an option.
optionIconColor(bool isSelected) String
Color of an option's leading icon for the given selection state.
optionStyles(bool isSelected, bool isDisabled) Map<String, String>
Inline styles for an option button.
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
triggerStyles(String height, String padding, String fontSize, String triggerColor, String borderColor) Map<String, String>
Full inline style map for the trigger button.

Operators

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