Compose Component

MaterialTheme

Material Theming refers to the customization of your Material Design app to better reflect your product’s brand.

MaterialTheme

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

Parameters

colorScheme A complete definition of the Material Color theme for this hierarchy
shapes A set of corner shapes to be used as this hierarchy's shape system
typography A set of text styles to be used as this hierarchy's typography system
content The composable content that will be 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: