SimpleNavBarItem class

A model class that defines the appearance and label of each tab in the navigation bar.

Constructors

SimpleNavBarItem({required String label, IconData? icon, Widget? customWidget, Widget? activeCustomWidget, Color? selectedColor})
Creates a SimpleNavBarItem.

Properties

activeCustomWidget Widget?
The custom widget to display when the item is selected.
final
customWidget Widget?
The custom widget to display. Used for SVGs or complex custom images.
final
hashCode int
The hash code for this object.
no setterinherited
icon IconData?
The icon data to display. Used primarily in advanced animations.
final
label String
The text label displayed below the icon (e.g., "Home", "Profile").
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedColor Color?
Optional custom color for this specific item when 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