AndroidApplication
fun ComponentActivity.AndroidApplication(screen: Screen, composeTheme: ComposeTheme.State = rememberComposeTheme(), appThemeProvider: @Composable () -> AppTheme = { rememberAppTheme() }, theme: MyTheme = MyTheme.default(), content: @Composable (navigator: Navigator) -> Unit)
This is the main entry point for the app. It sets up the app state, theme, and navigation.
composeTheme... default to rememberComposeTheme() which dervids its state from the ThemeSetup appThemeProvider... default to rememberAppTheme() which derives its state from the ThemeSetup theme... default to MyTheme.default()
fun ComponentActivity.AndroidApplication(composeTheme: ComposeTheme.State = rememberComposeTheme(), appThemeProvider: @Composable () -> AppTheme = { rememberAppTheme() }, theme: MyTheme = MyTheme.default(), content: @Composable () -> Unit)
This is the main entry point for the app. It sets up the app state and theme.
This overload does NOT provide a navigator!
composeTheme... default to rememberComposeTheme() which dervids its state from the ThemeSetup appThemeProvider... default to rememberAppTheme() which derives its state from the ThemeSetup theme... default to MyTheme.default()