CLNavList class

Lista navigazione condivisa da sidebar (desktop) e drawer (tablet/mobile). Scrollabile, rende l'albero CLDestination con gruppi/sezioni espandibili.

Inheritance
Available extensions

Constructors

CLNavList({Key? key, required List<CLDestination> destinations, required String? selectedKey, required ValueChanged<CLDestination> onSelect, bool isCompact = false, String? forceExpandedKey, EdgeInsets padding = const EdgeInsets.all(CLShellSizes.gapLg), bool collapsed = false})
const

Properties

collapsed → bool
Rail icon-only: voci senza label, con tooltip; il tap su un gruppo apre un flyout (ShadContextMenu) di lato con le voci interne (invece di espandere inline). La riespansione completa resta sul toggle dello shell.
final
destinations → List<CLDestination>
final
forceExpandedKey → String?
Gruppo da forzare aperto oltre a quello della rotta selezionata. Serve al drawer aperto da un tap su gruppo del rail: si apre già espanso su quel gruppo (es. "Impostazioni HR") anche se non è la rotta corrente.
final
hashCode → int
The hash code for this object.
no setterinherited
isCompact → bool
True su drawer mobile/tablet (variazioni minori di dimensione testo).
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onSelect → ValueChanged<CLDestination>
final
padding → EdgeInsets
Padding interno della lista. Default Lg su tutti i lati; lo shell lo sovrascrive con top/bottom = altezza barre frosted per far scorrere le voci sotto il vetro smerigliato di header/footer.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectedKey → String?
final

Methods

animateOnActionTrigger(AnimationInfo animationInfo, {bool hasBeenTriggered = false}) → Widget

Available on Widget, provided by the AnimatedWidgetExtension extension

animateOnPageLoad(AnimationInfo animationInfo) → Widget

Available on Widget, provided by the AnimatedWidgetExtension extension

build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
override
createElement() → StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

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