MaterialTheme

Composable Component

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

Android
@Composable
public fun MaterialTheme(
    colorScheme: ColorScheme = MaterialTheme.colorScheme,
    typography: Typography = MaterialTheme.typography,
    shapes: Shapes = MaterialTheme.shapes,
    motionScheme: MotionScheme = MaterialTheme.motionScheme,
    content: @Composable () -> Unit,
)

Parameters

colorSchemeA 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
motionSchemea set of motion specs used to animate content for this hierarchy.
contentSlot for composable content displayed with this theme