ProgressIndicatorOptions constructor

const ProgressIndicatorOptions({
  1. double? width,
  2. double? height,
  3. required ProgressIndicatorStyle style,
  4. double? value,
  5. Color? color,
  6. Animation<Color?>? valueColor,
  7. Color? backgroundColor,
  8. String? semanticsLabel,
  9. String? semanticsValue,
  10. double? minHeight,
  11. BorderRadiusGeometry borderRadius = BorderRadius.zero,
  12. double strokeWidth = 4,
  13. double strokeAlign = 0,
  14. StrokeCap? strokeCap,
  15. double elevation = 2.0,
  16. EdgeInsetsGeometry indicatorMargin = const EdgeInsets.all(4.0),
  17. EdgeInsetsGeometry indicatorPadding = const EdgeInsets.all(12.0),
})

Implementation

const ProgressIndicatorOptions({
  this.width,
  this.height,
  required this.style,
  this.value,
  this.color,
  this.valueColor,
  this.backgroundColor,
  this.semanticsLabel,
  this.semanticsValue,

  /// [ProgressIndicatorOptions.linear]
  this.minHeight,
  this.borderRadius = BorderRadius.zero,

  /// [ProgressIndicatorOptions.circular]
  this.strokeWidth = 4,
  this.strokeAlign = 0,
  this.strokeCap,

  /// [ProgressIndicatorOptions.refresh]
  this.elevation = 2.0,
  this.indicatorMargin = const EdgeInsets.all(4.0),
  this.indicatorPadding = const EdgeInsets.all(12.0),
});