MeshtasticMainScreen

fun MeshtasticMainScreen(multiBackstack: MultiBackstack, modifier: Modifier = Modifier, hostModifier: Modifier = Modifier, displayModifier: Modifier = Modifier, uiViewModel: UIViewModel = metroViewModel(), visibleDestinations: List<TopLevelDestination> = TopLevelDestination.entries, analytics: PlatformAnalytics? = null, unknownDestination: (key: NavKey, backStack: NavBackStack<NavKey>) -> NavEntry<NavKey>? = null)(source)

The app every host shows: the shell, the navigation suite and the display over sharedNavGraph, with the lockdown prompt above them. A host passes what is its own: the tabs it can show and where its window insets go.

Parameters

unknownDestination

the entry for a key nothing registers; null keeps Navigation 3's default, which throws.