Skip to content

ChipTheme

Customizes the appearance of descendant Chip controls.

属性 ​

名称类型默认值说明
colorOptional[ControlStateValue[ColorValue]]NoneOverrides the default value of color in all descendant Chip controls.
bgcolorOptional[ColorValue]NoneOverrides the default value of bgcolor in all descendant Chip controls.
shadow_colorOptional[ColorValue]NoneOverrides the default value of shadow_color in all descendant Chip controls.
selected_shadow_colorOptional[ColorValue]NoneOverrides the default value of selected_shadow_color in all descendant Chip controls.
disabled_colorOptional[ColorValue]NoneOverrides the default value of disabled_color in all descendant Chip controls.
selected_colorOptional[ColorValue]NoneOverrides the default value of selected_color in all descendant Chip controls.
check_colorOptional[ColorValue]NoneOverrides the default value of check_color in all descendant Chip controls.
delete_icon_colorOptional[ColorValue]NoneOverrides the default value of delete_icon_color in all descendant Chip controls.
elevationOptional[Number]NoneOverrides the default value of elevation in all descendant Chip controls.
elevation_on_clickOptional[Number]NoneOverrides the default value of elevation_on_click in all descendant Chip controls.
shapeOptional[OutlinedBorder]NoneOverrides the default value of shape in all descendant Chip controls.
paddingOptional[PaddingValue]NoneOverrides the default value of padding in all descendant Chip controls.
label_paddingOptional[PaddingValue]NoneOverrides the default value of label_padding in all descendant Chip controls.
label_text_styleOptional[TextStyle]NoneOverrides the default value of label_text_style in all descendant Chip controls.
border_sideOptional[BorderSide]NoneOverrides the default value of border_side in all descendant Chip controls.
show_checkmarkOptional[bool]NoneOverrides the default value of show_checkmark in all descendant Chip controls.
leading_size_constraintsOptional[BoxConstraints]NoneOverrides the default value of leading_size_constraints in all descendant Chip controls.
delete_icon_size_constraintsOptional[BoxConstraints]NoneOverrides the default value of delete_icon_size_constraints in all descendant Chip controls.
brightnessOptional[Brightness]NoneOverrides the default value for all chips which affects various base material color choices in the chip rendering.

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