SidebarItemRenderBase class abstract
Shared structural bases for themed sidebar renderers.
Several sidebar sub-components render byte-identical markup across every theme (the item link, the collapsible submenu, the fixed section). Those are expressed as fully concrete bases with no abstract members. The separator differs only in its CSS class and inline styles. The collapsible group and the main sidebar shell are identical across the neon/neubrutalism themes apart from CSS class names, so those bases factor the shared structure and expose the class-name (and group label style) variation as abstract members.
These bases live in core and depend only on core props; they must never depend on a theme package. Sidebar item link. Identical markup across every theme.
- Inheritance
-
- Object
- Component
- StatelessComponent
- SidebarItemRenderBase
Constructors
- SidebarItemRenderBase(SidebarItemProps props, {Key? key})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one component replaces another component in the tree.
finalinherited
- props → SidebarItemProps
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
-
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