NavigationItem class
Represents an individual navigation item within the CustomBottomNavBar.
The NavigationItem class encapsulates the information required for each item in the bottom navigation bar, including the target page, icon, and label.
Constructors
-
Creates a NavigationItem with the specified
page
,icon
, andlabel
.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Icon
-
The icon to display for this navigation item.
final
- label → String
-
The label text for this navigation item.
final
- page → Widget
-
The page to navigate to when this item is selected.
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