Skip to main content

CardTheme

Customizes the appearance of Card across the app.

Properties

Properties

clip_behaviorclass-attributeinstance-attribute

clip_behavior: ClipBehavior | None = None

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

colorclass-attributeinstance-attribute

color: ColorValue | None = None

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

elevationclass-attributeinstance-attribute

elevation: Number | None = None

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

marginclass-attributeinstance-attribute

margin: MarginValue | None = None

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

shadow_colorclass-attributeinstance-attribute

shadow_color: ColorValue | None = None

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

shapeclass-attributeinstance-attribute

shape: OutlinedBorder | None = None

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