Skip to content

CardTheme

Customizes the appearance of descendant Card controls.

属性 ​

名称类型默认值说明
colorOptional[ColorValue]NoneOverrides the default value of clip_behavior in all descendant Card controls.
shadow_colorOptional[ColorValue]NoneOverrides the default value of shadow_color in all descendant Card controls.
elevationOptional[Number]NoneOverrides the default value of elevation in all descendant Card controls.
shapeOptional[OutlinedBorder]NoneOverrides the default value of shape in all descendant Card controls.
clip_behaviorOptional[ClipBehavior]NoneOverrides the default value of clip_behavior in all descendant Card controls.
marginOptional[MarginValue]NoneOverrides the default value of margin in all descendant Card controls.

关注我,学习大模型、大数据、Python等热门技术。