NavigationInteractorSettings<AppTabType, RouteType, DialogType, BottomSheetType> class

Class describing app navigation settings

Example:

NavigationInteractorSettings(
  initialRoute: RouteNames.home,
  tabs: AppTabs.tabs,
  tabViewHomeRoute: RouteNames.home,
  initialTabRoutes: {
     AppTabs.posts: RouteNames.posts,
     AppTabs.likedPosts: RouteNames.likedPosts,
  },
  appContainsTabNavigation: true,
);

Constructors

const

Properties

appContainsTabNavigation bool
Flag indicating that app contains tab views with inner navigators
final
bottomSheetsAndDialogsUsingGlobalNavigator bool
Flag indicating that app dialogs and botttom sheets using BaseNavigationInteractor.globalNavigatorKey instead of separate BaseNavigationInteractor.bottomSheetDialogNavigatorKey
final
hashCode int
The hash code for this object.
no setterinherited
initialRoute → RouteType
Initial route of whole app Used to initialize NavigationStack
final
initialTabRoutes Map<AppTabType, RouteType>?
Initial route of every tab in app
final
routeBuilder NavigationRouteBuilder
Route builder for navigation interactor
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tabs List<AppTabType>?
List of all tabs in app
final
tabViewHomeRoute → RouteType?
Name of route that contains tab view for tab navigators
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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