Root
fun Root(appState: AppState, setRootLocals: Boolean, dialogs: @Composable () -> Unit = {}, content: @Composable () -> Unit)
the main app composable
Parameters
appState
the app state to use, which is provided via composition local
setRootLocals
whether to set the root locals (app state, debug drawer state), should only be false if you want to provide them yourself
dialogs
to show, which are rendered inside the root composable
content
the main content of the app