NavigationItem class

A data class representing a single navigation item in the Drawer.

It holds the icon, label, and route for a navigation entry.

Constructors

Creates a NavigationItem.

Properties

hashCode int
The hash code for this object.
no setterinherited
icon IconData
The icon to display for the navigation item.
final
label String
The text label for the navigation item.
final
route String
The route associated with the navigation item (currently not directly used for navigation).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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