HideableBottomNavigationItem class
HideableBottomNavigationItem represents an individual item in the HideableBottomBar widget. It defines the properties needed to display the item, including its icon, label, and unique index.
Constructors
- Default constructor.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Widget
-
The icon that represents the navigation item. It is displayed for both selected and unselected states.
Required parameter.
final
- index → int
-
A unique index identifying this navigation item within the HideableBottomBar. It is used to track the selected item.
Required parameter.
final
- name → String
-
The label or name of the navigation item. This text is displayed when the item is selected.
Required parameter.
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