NavigationControllerEvents<T> class

Implementation of NavigationController and NavigationEvents. Used for transfer some navigation events with generic data without being tied to a specific navigation method. It's generating wrapper data classes NavigationTabArguments, NavigationArguments for AppNavigator. Also allow to get stream events data.

Implemented types

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.
override
getGlobalNavigationEvents() → BehaviorSubject<NavigationArguments>
Method for getting global(without BottomNavigationPage) navigation events and event 'navigate to tab'.
override
getTabNestedNavigationEvents() → BehaviorSubject<NavigationTabArguments>
Method for getting only tab nested events.
override
Navigate to certain tab bar item by using tabIndex. It also allows you to reset the stack of pages on a specific tab.
override
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).
override
popTabNestedPage() → void
Deleting current page from stack pages(stack current tab bar item).
override
pushGlobalPage(String routeName, {T? eventData}) → void
Push new global(without BottomNavigationPage) page. After calling this method current page will be pushed to stack pages.
override
pushReplacementGlobalPage(String routeName, {T? eventData}) → void
Push new global(without BottomNavigationPage) page replacing the current page.
override
pushTabNestedPage(String routeName, {bool isFullscreenNavigation = false, 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.
override
sinkEvent(T eventData) → void
Add new event data
override
toString() String
A string representation of this object.
inherited

Operators

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