Skip to main content

CardTheme

Customizes the appearance of Card across the app.

CardTheme class has the following properties:

clip_behavior​

Overrides the default value of Card.clip_behavior in all descendant Card controls.

color​

Overrides the default value of Card.color in all descendant Card controls.

elevation​

Overrides the default value of Card.elevation in all descendant Card controls.

margin​

Overrides the default value of Card.margin in all descendant Card controls.

shadow_color​

Overrides the default value of Card.shadow_color in all descendant Card controls.

shape​

Overrides the default value of Card.shape in all descendant Card controls.

surface_tint_color​

Overrides the default value of Card.surface_tint_color in all descendant Card controls.