RefreshProgressIndicator constructor
Creates a refresh progress indicator.
Rather than creating a refresh progress indicator directly, consider using a RefreshIndicator together with a Scrollable widget.
Accessibility
The semanticsLabel
can be used to identify the purpose of this progress
bar for screen reading software. The semanticsValue
property may be used
for determinate progress indicators to indicate how much progress has been made.
Implementation
const RefreshProgressIndicator({
Key key,
double value,
Color backgroundColor,
Animation<Color> valueColor,
double strokeWidth = 2.0, // Different default than CircularProgressIndicator.
String semanticsLabel,
String semanticsValue,
}) : super(
key: key,
value: value,
backgroundColor: backgroundColor,
valueColor: valueColor,
strokeWidth: strokeWidth,
semanticsLabel: semanticsLabel,
semanticsValue: semanticsValue,
);