TAB_ROOT

The destination shown when the user selects a top level tab in a bottom navigation bar. Each tab anchors its own back stack and persists across tab switches.

The generated binding contributes one NavDestination.TabRoot and one NavRootBinding<*>. The route must be a NavRoot (typically a data object). Tab presenters must use plain @Inject because the route is a singleton and carries no payload. Declaring a nested @AssistedFactory on a tab presenter is a compile error.

Properties

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int