LinearProgressIndicator constructor

const LinearProgressIndicator(
  1. double fraction, {
  2. Style style = Style.empty,
  3. bool showPercentage = true,
  4. bool smooth = false,
  5. Color? startColor,
  6. Color? endColor,
  7. EasingFunction easing = Easing.linear,
})

Implementation

const LinearProgressIndicator(
  this.fraction, {
  this.style = Style.empty,
  this.showPercentage = true,
  this.smooth = false,
  this.startColor,
  this.endColor,
  this.easing = Easing.linear,
});