Skip to content

CardTheme

Customizes the appearance of Card across the app.

Properties

Properties#

clip_behavior class-attribute instance-attribute #

clip_behavior: Optional[ClipBehavior] = None

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

color class-attribute instance-attribute #

color: Optional[ColorValue] = None

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

elevation class-attribute instance-attribute #

elevation: Optional[Number] = None

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

margin class-attribute instance-attribute #

margin: Optional[MarginValue] = None

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

shadow_color class-attribute instance-attribute #

shadow_color: Optional[ColorValue] = None

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

shape class-attribute instance-attribute #

shape: Optional[OutlinedBorder] = None

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