ComposeTheme
actual fun ComposeTheme(state: ComposeTheme.State, shapes: Shapes, typography: Typography, content: () -> Unit)
this is the main composable that simple applies the correct theme and also updates the system ui if necessary
Parameters
state
the composable state that holds the currently selected theme data
shapes
the shapes for MaterialTheme
typography
the typography for MaterialTheme
content
the content
expect fun ComposeTheme(state: ComposeTheme.State, shapes: Shapes = MaterialTheme.shapes, typography: Typography = MaterialTheme.typography, content: @Composable () -> Unit)
actual fun ComposeTheme(state: ComposeTheme.State, shapes: Shapes, typography: Typography, content: () -> Unit)
this is the main composable that simple applies the correct theme and also updates the system ui if necessary
Parameters
state
the composable state that holds the currently selected theme data
shapes
the shapes for MaterialTheme
typography
the typography for MaterialTheme
content
the content