MaterialTheme

Composable Component

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

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

Parameters

colorsA complete definition of the Wear Material Color theme for this hierarchy
typographyA set of text styles to be used as this hierarchy's typography system
shapesA set of shapes to be used by the components in this hierarchy
contentSlot for composable content displayed with this theme