SimpleSidebarItem class
- Inheritance
-
- Object
- SimpleSidebarElement
- SimpleSidebarItem
Constructors
- SimpleSidebarItem({required String title, required Widget child, bool? wrapWord, TextOverflow? textOverflow, String? customTooltipMessage, IconData? iconFront, IconData? iconEnd})
- Creates a new SimpleSidebarItem
Properties
- child → Widget
-
The child that will be displayed when the item is selected
final
- customTooltipMessage → String?
-
The custom tooltip message (default the title)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconEnd → IconData?
-
The icon that will be displayed in the end of the title
final
- iconFront → IconData?
-
The icon that will be displayed in the front of the title
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textOverflow → TextOverflow?
-
The text overflow behavior
final
- title → String
-
The title of the item
final
- wrapWord → bool?
-
If the text should soft wrap or not
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