HomeRouteSlot

internal fun HomeRouteSlot(route: AppRoute, activeRoute: AppRoute, renderedRoutes: List<AppRoute>, content: @Composable (Modifier) -> Unit)(source)

Keeps previously rendered home tabs alive while hiding inactive tabs at zero size.

Author

Dmitriy Moroz

Parameters

route

Home route represented by this slot.

activeRoute

Currently visible home route.

renderedRoutes

Home routes already instantiated by the root route host.

content

Tab content that receives the slot modifier.