CardTheme
Customizes the appearance of Card across the app.
Properties
clip_behavior- Overrides the default value ofCard.clip_behaviorin all descendantCardcontrols.color- Overrides the default value ofCard.clip_behaviorin all descendantCardcontrols.elevation- Overrides the default value ofCard.elevationin all descendantCardcontrols.margin- Overrides the default value ofCard.marginin all descendantCardcontrols.shadow_color- Overrides the default value ofCard.shadow_colorin all descendantCardcontrols.shape- Overrides the default value ofCard.shapein all descendantCardcontrols.
Properties
clip_behaviorclass-attributeinstance-attribute
clip_behavior: ClipBehavior | None = NoneOverrides the default value of Card.clip_behavior in all descendant Card controls.
colorclass-attributeinstance-attribute
color: ColorValue | None = NoneOverrides the default value of Card.clip_behavior in all descendant Card controls.
elevationclass-attributeinstance-attribute
elevation: Number | None = NoneOverrides the default value of Card.elevation in all descendant Card controls.
marginclass-attributeinstance-attribute
margin: MarginValue | None = NoneOverrides the default value of Card.margin in all descendant Card controls.
shadow_colorclass-attributeinstance-attribute
shadow_color: ColorValue | None = NoneOverrides the default value of Card.shadow_color in all descendant Card controls.
shapeclass-attributeinstance-attribute
shape: OutlinedBorder | None = NoneOverrides the default value of Card.shape in all descendant Card controls.