OudsProgressIndicator constructor

const OudsProgressIndicator({
  1. Key? key,
  2. OudsProgressIndicatorType? progressType = OudsProgressIndicatorType.determinate,
  3. OudsIconStatus status = const Neutral(),
  4. bool animated = true,
  5. double? value,
  6. OudsProgressIndicatorGapSize gapSize = OudsProgressIndicatorGapSize.defaultSize,
  7. bool track = true,
  8. 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,
});