OudsProgressIndicator constructor
- Key? key,
- OudsProgressIndicatorType? progressType = OudsProgressIndicatorType.determinate,
- OudsIconStatus status = const Neutral(),
- bool animated = true,
- double? value,
- OudsProgressIndicatorGapSize gapSize = OudsProgressIndicatorGapSize.defaultSize,
- bool track = true,
- String? semanticLabel,
Creates a progress indicator.
The value value must be between 0.0 and 1.0 when progressType
is OudsProgressIndicatorType.determinate; it is ignored otherwise.
Accessibility
Provide a semanticLabel to describe the purpose of this indicator to
assistive technologies (TalkBack / VoiceOver).
Implementation
const OudsProgressIndicator({
super.key,
this.progressType = OudsProgressIndicatorType.determinate,
this.status = const Neutral(),
this.animated = true,
this.value,
this.gapSize = OudsProgressIndicatorGapSize.defaultSize,
this.track = true,
this.semanticLabel,
});