ProgressIndicatorOptions.linear constructor

const ProgressIndicatorOptions.linear({
  1. double? width,
  2. double? height,
  3. double? value,
  4. Color? color,
  5. Animation<Color?>? valueColor,
  6. Color? backgroundColor,
  7. String? semanticsLabel,
  8. String? semanticsValue,
  9. double? minHeight,
  10. BorderRadiusGeometry borderRadius = BorderRadius.zero,
})

Implementation

const ProgressIndicatorOptions.linear({
  this.width,
  this.height,
  this.value,
  this.color,
  this.valueColor,
  this.backgroundColor,
  this.semanticsLabel,
  this.semanticsValue,
  this.minHeight,
  this.borderRadius = BorderRadius.zero,
})  : style = ProgressIndicatorStyle.linear,
      strokeWidth = 4,
      strokeAlign = 0,
      strokeCap = null,
      elevation = 2.0,
      indicatorMargin = const EdgeInsets.all(4.0),
      indicatorPadding = const EdgeInsets.all(12.0);