NavigationTab class
NavigationTab is a class that holds the title, page, icon, activeIcon, backgroundColor, tooltip, and meta data of a bottom navigation tab.
Constructors
- NavigationTab is a class that holds the title, page, icon, activeIcon, backgroundColor, tooltip, and meta data of a bottom navigation tab.
- NavigationTab.alert is a class that holds the title, page, icon, activeIcon, backgroundColor, tooltip, and meta data of a bottom navigation tab with an alert.
- NavigationTab.badge is a class that holds the title, page, icon, activeIcon, backgroundColor, tooltip, and meta data of a bottom navigation tab with a badge.
- NavigationTab.journey is a class that holds the page of a journey navigation tab.
Properties
- activeIcon ↔ Widget?
-
getter/setter pair
- alertColor ↔ Color?
-
getter/setter pair
- backgroundColor ↔ Color?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon ↔ Widget?
-
getter/setter pair
- kind → String?
-
final
-
meta
→ Map<
String, dynamic> -
final
- page ↔ Widget?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String?
-
getter/setter pair
- tooltip ↔ String?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateActiveIcon(
Widget activeIcon) → dynamic - Update the active icon of the NavigationTab
-
updateBackgroundColor(
Color backgroundColor) → dynamic - Update the background color of the NavigationTab
-
updateIcon(
Widget icon) → dynamic - Update the icon of the NavigationTab
-
updatePage(
Widget page) → dynamic - Update the page of the NavigationTab
-
updateTitle(
String title) → dynamic - Update the title of the NavigationTab
-
updateTooltip(
String tooltip) → dynamic - Update the tooltip of the NavigationTab
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited