Object

MaterialTheme

Contains functions to access the current theme values provided at the call site's position in the hierarchy.

Source set: Common
public object MaterialTheme

Contains functions to access the current theme values provided at the call site's position in the hierarchy.

Properties

colors

Source set: Common
public val colors: Colors

Retrieves the current Colors at the call site's position in the hierarchy.

typography

Source set: Common
public val typography: Typography

Retrieves the current Typography at the call site's position in the hierarchy.

shapes

Source set: Common
public val shapes: Shapes

Retrieves the current Shapes at the call site's position in the hierarchy.

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: