TabsRenderBase class abstract

Shared structural base for the neon/neubrutalism tabs renderers.

These two themes render an identical tab tree — the column wrapper, the inline-flex tab list, the trigger buttons (with their role/state/disabled attributes) and the content panel all match byte-for-byte. They diverge only in the trigger typography (font weight / letter spacing / text transform), the disabled opacity and the badge styling, which are exposed as abstract members.

The ShadCN tabs are structurally divergent (a muted-background tab list and a separate role="tabpanel" panel) and are left standalone.

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

Inheritance

Constructors

TabsRenderBase(TabsProps props, {Key? key})
const

Properties

badgeStyles → Map<String, String>
Inline styles for the trigger badge span.
no setter
classPrefix → String
Theme class prefix (e.g. 'neon', 'neubrutalism').
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
props → TabsProps
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tabDisabledOpacity → String
opacity applied to a disabled trigger.
no setter
tabFontWeight → String
font-weight for the trigger buttons.
no setter
tabLetterSpacing → String
letter-spacing for the trigger buttons.
no setter
tabTextTransform → String
text-transform for the trigger buttons.
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 into its own CSS.
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