AdwSidebarItem class

Class that contains details about a specific sidebar item.

Constructors

AdwSidebarItem({Key? key, String? label, EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 14), Color? selectedColor, Color? unselectedColor, TextStyle? labelStyle, Widget? labelWidget, Widget? leading})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
key Key?
The key of the sidebar item child.
final
label String?
The label to render to the right of the button.
final
labelStyle TextStyle?
The style of the label
final
labelWidget Widget?
The label to render to the right of the button
final
leading Widget?
Widget that would be placed at the left of the labelWidget.
final
padding EdgeInsets
The Padding of the item.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedColor Color?
The background color of the item when it is selected.
final
unselectedColor Color?
The background color of the item when it is not selected.
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