Compose Component

MaterialTheme

MaterialTheme defines the styling principles from the WearOS Material design specification which extends the Material design specification.

MaterialTheme

Source set: Android
@Composable
public fun MaterialTheme(
    colors: Colors = MaterialTheme.colors,
    typography: Typography = MaterialTheme.typography,
    shapes: Shapes = MaterialTheme.shapes,
    content: @Composable () -> Unit,
)

Parameters

colors A complete definition of the Wear Material Color theme for this hierarchy
typography A set of text styles to be used as this hierarchy's typography system
shapes A set of shapes to be used by the components in this hierarchy
content Slot for composable content displayed with this theme
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: