SidebarProps class
Sidebar component properties.
Constructors
-
SidebarProps({required List<
Widget> children, Widget? header, bool isCollapsed = false, void onCollapseChanged(bool collapsed)?, double width = 280, double collapsedWidth = 64, bool showCollapseToggle = true, bool rightSide = false, void onToggleCollapse()?, ArcaneStyleData? styles, ArcaneDecoration? decoration}) -
const
Properties
-
children
→ List<
Widget> -
final
- collapsedWidth → double
-
final
- decoration → ArcaneDecoration?
-
Semantic, theme-interpreted decoration (elevation intent + theme-specific
fields honored-or-ignored per theme).
final
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → Widget?
-
final
- isCollapsed → bool
-
final
- onCollapseChanged → void Function(bool collapsed)?
-
final
- onToggleCollapse → void Function()?
-
final
- rightSide → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showCollapseToggle → bool
-
final
- styles → ArcaneStyleData?
-
Literal, theme-permeable style override (always applied, wins over theme).
final
- width → double
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited