Expand description
Material theme primitives for color, typography, and shape.
§Usage
Provide app-wide defaults for Material components.
Structs§
- Content
Color - Ambient content color used by text and icons when no explicit tint is provided.
- Material
Alpha - Standard Material 3 alpha values used for state layers and disabled content.
- Material
Color Scheme - A Material Design color scheme, which can be light or dark, produced from a seed color.
- Material
Shapes - Material shape scale used by components to resolve default container shapes.
- Material
Theme - Material theme container holding the three primary Material 3 theme primitives.
- Material
Theme Builder - Configuration handle returned by
material_theme. - Material
Typography - Material typography scale used by components to resolve default text styles.
- Text
Selection Colors - Colors used for text selection highlights and handles.
- Text
Style - Font family, metrics, weight, and tracking for a single text style.
Functions§
- content_
color_ for - Returns the matching content color for a background color in the scheme.
- material_
theme - material_theme