主题
ChipTheme
Customizes the appearance of descendant Chip controls.
属性
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
color | Optional[ControlStateValue[ColorValue]] | None | Overrides the default value of color in all descendant Chip controls. |
bgcolor | Optional[ColorValue] | None | Overrides the default value of bgcolor in all descendant Chip controls. |
shadow_color | Optional[ColorValue] | None | Overrides the default value of shadow_color in all descendant Chip controls. |
selected_shadow_color | Optional[ColorValue] | None | Overrides the default value of selected_shadow_color in all descendant Chip controls. |
disabled_color | Optional[ColorValue] | None | Overrides the default value of disabled_color in all descendant Chip controls. |
selected_color | Optional[ColorValue] | None | Overrides the default value of selected_color in all descendant Chip controls. |
check_color | Optional[ColorValue] | None | Overrides the default value of check_color in all descendant Chip controls. |
delete_icon_color | Optional[ColorValue] | None | Overrides the default value of delete_icon_color in all descendant Chip controls. |
elevation | Optional[Number] | None | Overrides the default value of elevation in all descendant Chip controls. |
elevation_on_click | Optional[Number] | None | Overrides the default value of elevation_on_click in all descendant Chip controls. |
shape | Optional[OutlinedBorder] | None | Overrides the default value of shape in all descendant Chip controls. |
padding | Optional[PaddingValue] | None | Overrides the default value of padding in all descendant Chip controls. |
label_padding | Optional[PaddingValue] | None | Overrides the default value of label_padding in all descendant Chip controls. |
label_text_style | Optional[TextStyle] | None | Overrides the default value of label_text_style in all descendant Chip controls. |
border_side | Optional[BorderSide] | None | Overrides the default value of border_side in all descendant Chip controls. |
show_checkmark | Optional[bool] | None | Overrides the default value of show_checkmark in all descendant Chip controls. |
leading_size_constraints | Optional[BoxConstraints] | None | Overrides the default value of leading_size_constraints in all descendant Chip controls. |
delete_icon_size_constraints | Optional[BoxConstraints] | None | Overrides the default value of delete_icon_size_constraints in all descendant Chip controls. |
brightness | Optional[Brightness] | None | Overrides the default value for all chips which affects various base material color choices in the chip rendering. |