Skip to content

ProgressIndicatorTheme

Customizes the appearance of descendant progress indicators (ProgressBar, ProgressRing).

属性 ​

名称类型默认值说明
colorOptional[ColorValue]NoneOverrides the default values for color and color.
circular_track_colorOptional[ColorValue]NoneOverrides the default value for bgcolor.
linear_track_colorOptional[ColorValue]NoneOverrides the default value for bgcolor.
refresh_bgcolorOptional[ColorValue]NoneBackground 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_heightOptional[Number]NoneOverrides the default value for bar_height.
border_radiusOptional[BorderRadiusValue]NoneOverrides the default value for border_radius.
track_gapOptional[Number]NoneOverrides the default values for track_gap and track_gap.
circular_track_paddingOptional[PaddingValue]NoneOverrides the default value for padding.
size_constraintsOptional[BoxConstraints]NoneOverrides the default value for size_constraints.
stop_indicator_colorOptional[ColorValue]NoneOverrides the default value for stop_indicator_color.
stop_indicator_radiusOptional[Number]NoneOverrides the default value for stop_indicator_radius.
stroke_alignOptional[Number]NoneOverrides the default value for stroke_align.
stroke_capOptional[StrokeCap]NoneOverrides the default value for stroke_cap.
stroke_widthOptional[Number]NoneOverrides the default value for stroke_width.
year_2023boolFalseOverrides the default values for year_2023 and year_2023.

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