SidebarItem class
A single item in a Sidebar.
Constructors
Properties
- badge → String?
-
Optional badge text.
final
- enabled → bool
-
When false the item is disabled.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData
-
Unselected icon.
final
- label → String
-
Item label.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedIcon → IconData?
-
Selected icon (defaults to icon).
final
- trailing → Widget?
-
Optional trailing widget (e.g. a chevron).
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