JetpackApp

fun JetpackApp(appState: JetpackAppState, modifier: Modifier = Modifier, windowAdaptiveInfo: WindowAdaptiveInfo = currentWindowAdaptiveInfo())

Root of the app UI.

Chooses between the signed-out and signed-in navigation graphs. Each branch builds its own navigation state, so signing in or out discards the other branch's back stack rather than leaving history the user could return to.

Parameters

appState

App-wide state.

modifier

Modifier for the root layout.

windowAdaptiveInfo

Drives whether navigation shows as a bar, rail or drawer.