SidebarSubMenuProps class

Sidebar submenu component properties (collapsible section).

Uses native <details>/<summary> for static-site-friendly collapsibles.

Constructors

SidebarSubMenuProps({required String label, required List<Widget> children, Widget? icon, bool defaultOpen = false, bool collapsed = false, String? badge})
const

Properties

badge String?
final
children List<Widget>
final
collapsed bool
final
defaultOpen bool
Whether the section is open by default (sets open attribute on <details>).
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget?
final
label String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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