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.
NavigationTab.tab is a convenience constructor for standard tabs.

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
progressStyle ↔ JourneyProgressStyle?
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) → void
Update the active icon of the NavigationTab
updateBackgroundColor(Color backgroundColor) → void
Update the background color of the NavigationTab
updateIcon(Widget icon) → void
Update the icon of the NavigationTab
updatePage(Widget page) → void
Update the page of the NavigationTab
updateTitle(String title) → void
Update the title of the NavigationTab
updateTooltip(String tooltip) → void
Update the tooltip of the NavigationTab

Operators

operator ==(Object other) → bool
The equality operator.
inherited