GlassSidebarItem class
One destination in a GlassSidebar.
- Annotations
Constructors
- GlassSidebarItem.new({required Widget icon, required String label, Widget? trailing})
-
Creates a sidebar item.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Widget
-
Shown at the row's start.
final
- label → String
-
The row's text.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trailing → Widget?
-
Shown at the row's end, such as a count.
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