SidebarXItem class

Constructors

SidebarXItem({String? label, IconData? icon, @Deprecated('Use iconBuilder instead') Widget? iconWidget, SidebarXItemBuilder? iconBuilder, dynamic onTap()?, dynamic onLongPress()?, dynamic onSecondaryTap()?, bool selectable = true})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
icon IconData?
final
iconBuilder SidebarXItemBuilder?
The itemBuilder callback used for setup custom icon for SidebarXItem
final
iconWidget Widget?
final
label String?
final
onLongPress → (dynamic Function()?)
final
onSecondaryTap → (dynamic Function()?)
final
onTap → (dynamic Function()?)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectable bool
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