Skip to main content

CardTheme

Customizes the appearance of Card across the app.

Properties

Properties

clip_behaviorclass-attributeinstance-attribute

clip_behavior: Optional[ClipBehavior] = None

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

colorclass-attributeinstance-attribute

color: Optional[ColorValue] = None

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

elevationclass-attributeinstance-attribute

elevation: Optional[Number] = None

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

marginclass-attributeinstance-attribute

margin: Optional[MarginValue] = None

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

shadow_colorclass-attributeinstance-attribute

shadow_color: Optional[ColorValue] = None

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

shapeclass-attributeinstance-attribute

shape: Optional[OutlinedBorder] = None

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