Skip to content

CardTheme

Customizes the appearance of Card across the app.

Properties

Properties#

clip_behavior class-attribute instance-attribute #

clip_behavior: ClipBehavior | None = None

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

color class-attribute instance-attribute #

color: ColorValue | None = None

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

elevation class-attribute instance-attribute #

elevation: Number | None = None

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

margin class-attribute instance-attribute #

margin: MarginValue | None = None

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

shadow_color class-attribute instance-attribute #

shadow_color: ColorValue | None = None

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

shape class-attribute instance-attribute #

shape: OutlinedBorder | None = None

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