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

colorScheme 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
motionScheme a set of motion specs used to animate content for this hierarchy.
content Slot for composable content displayed with this theme