universal_navigation library
Classes
- For build certain realization of BottomNavigationBar. Also implementation should contain list of tab flow (root pages of bottom navigation bar item).
- This was already included to remove boilerplate code, but to preserve the customization of the BottomNavigationBar, the BottomNavigationBuilder mixin was introduced.
- It's wrapper of GlobalKey for implementation BottomNavigationBar.
-
CoreEventNotifier<
T> - Core of events data. It's can used as a single part from NavigationControllerEvents, but for convenience it was included in the NavigationControllerEvents.
-
EventNotifier<
T> - For pushing and getting generic data events.
- GlobalFlows
- Contain bundle between id's page and WidgetBuilder function. It's must contain following thing:
- It's wrapper of GlobalKey for MaterialApp in main.dart.
- Implemented by NavigationControllerEvents and used for emitting navigation events with some generic data. It can be used inside pages and blocs.
- TabChangeListener
- For notifying AppNavigator about changing tab item. Used by BottomNavigationPage, that's call notifyTabChanged method.
- TabChanger
- TabFlow
- Contain root page of navigation bar item and some config.
Functions
- Registering the core of universal navigation as dependency.
- Registration of dependencies independent of user settings, except for generic.