HomeRoutesScaffold

internal fun HomeRoutesScaffold(languageCode: String, activeRoute: AppRoute, renderedRoutes: List<AppRoute>, router: RootAppRouter, buildInfoProvider: BuildInfoProvider, preferenceManager: PreferenceManager, showHomeChrome: Boolean = true, textToImageViewModel: TextToImageViewModel, imageToImageViewModel: ImageToImageViewModel)(source)

Hosts the persistent bottom-tab routes inside the app scaffold.

Standalone overlay routes such as storage usage and network usage are deliberately excluded so they can render without the bottom bar.

Author

Dmitriy Moroz

Parameters

languageCode

Active localization code used by rendered home tabs.

activeRoute

Route currently visible in the home scaffold.

renderedRoutes

Home routes already created and kept alive.

router

Root router shared by home tabs.

buildInfoProvider

Build metadata consumed by scaffold-level UI.

preferenceManager

Preferences source consumed by scaffold-level UI.

showHomeChrome

Whether bottom tabs and home-level chrome should be visible.

textToImageViewModel

Shared Text-to-Image ViewModel kept alive with its tab.

imageToImageViewModel

Shared Image-to-Image ViewModel kept alive with its tab.