主题
ProgressIndicatorTheme
Customizes the appearance of descendant progress indicators (ProgressBar, ProgressRing).
属性
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
color | Optional[ColorValue] | None | Overrides the default values for color and color. |
circular_track_color | Optional[ColorValue] | None | Overrides the default value for bgcolor. |
linear_track_color | Optional[ColorValue] | None | Overrides the default value for bgcolor. |
refresh_bgcolor | Optional[ColorValue] | None | Background color that fills the circle under the refresh indicator. If a refresh indicator does not specify its own background color, this theme value is used. If this is also not set, the current theme's canvas color is used. |
linear_min_height | Optional[Number] | None | Overrides the default value for bar_height. |
border_radius | Optional[BorderRadiusValue] | None | Overrides the default value for border_radius. |
track_gap | Optional[Number] | None | Overrides the default values for track_gap and track_gap. |
circular_track_padding | Optional[PaddingValue] | None | Overrides the default value for padding. |
size_constraints | Optional[BoxConstraints] | None | Overrides the default value for size_constraints. |
stop_indicator_color | Optional[ColorValue] | None | Overrides the default value for stop_indicator_color. |
stop_indicator_radius | Optional[Number] | None | Overrides the default value for stop_indicator_radius. |
stroke_align | Optional[Number] | None | Overrides the default value for stroke_align. |
stroke_cap | Optional[StrokeCap] | None | Overrides the default value for stroke_cap. |
stroke_width | Optional[Number] | None | Overrides the default value for stroke_width. |
year_2023 | bool | False | Overrides the default values for year_2023 and year_2023. |