NavigationController<T> class
abstract
Implemented by NavigationControllerEvents and used for emitting navigation events with some generic data. It can be used inside pages and blocs.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getEvents(
) → Stream< T> - Getting stream events data for listening and subscribing to all events.
-
Navigate to certain tab bar item by using
tabIndex
. It also allows you to reset the stack of pages on a specific tab. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
popGlobalPage(
) → void - Deleting current page from stack pages(stack current tab bar item).
-
popTabNestedPage(
) → void - Deleting current page from stack pages(stack current tab bar item).
-
pushGlobalPage(
String routeName, {T? eventData}) → void - Push new global(without BottomNavigationPage) page. After calling this method current page will be pushed to stack pages.
-
pushReplacementGlobalPage(
String routeName, {T? eventData}) → void - Push new global(without BottomNavigationPage) page replacing the current page.
-
pushTabNestedPage(
String routeName, {T? eventData}) → void - Push new page inside BottomNavigationPage, which call 'nested tab navigation'. After calling this method current page will be pushed to stack pages and the new page will be shown over the previous one. But bottom navigation bar also will remain visible.
-
sinkEvent(
T eventData) → void - Add new event data
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited