Skip to content

CardTheme

CardTheme #

Customizes the appearance of Card across the app.

clip_behavior #

clip_behavior: ClipBehavior | None = None

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

color #

color: ColorValue | None = None

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

elevation #

elevation: Number | None = None

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

margin #

margin: MarginValue | None = None

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

shadow_color #

shadow_color: ColorValue | None = None

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

shape #

shape: OutlinedBorder | None = None

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

surface_tint_color #

surface_tint_color: ColorValue | None = None

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