CLBottomBarItem class

Voce fissa custom della bottom bar (es. menu, AI, profilo, ricerca) — non legata alle destinations nav. Usata via CLBottomBar.items / shell bottomBarItems. selectedKey (opzionale) evidenzia la voce quando coincide con la selezione corrente dello shell (es. la voce Dashboard).

Constructors

CLBottomBarItem({required IconData icon, required String label, required VoidCallback onTap, String? selectedKey, Gradient? iconGradient})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
icon IconData
final
iconGradient Gradient?
Gradiente opzionale per l'icona (es. bottone AI brand). Reso via ShaderMask.
final
label String
final
onTap VoidCallback
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedKey String?
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