CardTheme
Customizes the appearance of Card across the app.
Properties
-
clip_behavior(Optional[ClipBehavior]) –Overrides the default value of
Card.clip_behaviorin all descendantCardcontrols. -
color(Optional[ColorValue]) –Overrides the default value of
Card.clip_behaviorin all descendantCardcontrols. -
elevation(Optional[Number]) –Overrides the default value of
Card.elevationin all descendantCardcontrols. -
margin(Optional[MarginValue]) –Overrides the default value of
Card.marginin all descendantCardcontrols. -
shadow_color(Optional[ColorValue]) –Overrides the default value of
Card.shadow_colorin all descendantCardcontrols. -
shape(Optional[OutlinedBorder]) –Overrides the default value of
Card.shapein all descendantCardcontrols.
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
#
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.