NavigationHubStateActions class
Navigation hub state actions
- Inheritance
-
- Object
- StateActions
- NavigationHubStateActions
Constructors
Properties
Methods
-
alertDisableTab(
{required int tab}) → dynamic -
Disable the alert for the
tab
-
alertEnableTab(
{required int tab}) → dynamic -
Enable the alert for the
tab
-
clearBadgeCount(
{required int tab}) → dynamic - Clear the badge count E.g. MyNavigationHub.clearBadgeCount(tab: 0);
-
currentTabIndex(
int tabIndex) → dynamic - Update the tab index
-
incrementBadgeCount(
{required int tab}) → dynamic - Increment the badge count E.g. MyNavigationHub.incrementBadgeCount(tab: 0);
-
nextPage(
) → Future< bool> - Navigate to the next page in a journey layout Returns true if navigation was successful, false if already at last page
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
previousPage(
) → Future< bool> - Navigate to the previous page in a journey layout Returns true if navigation was successful, false if already at first page
-
resetTabIndex(
int tabIndex) → dynamic - Reset the tab
-
toString(
) → String -
A string representation of this object.
inherited
-
updateBadgeCount(
{required int tab, required int count}) → dynamic - Update the badge count E.g. MyNavigationHub.updateBadgeCount(tab: 0, count: 2);
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited