LinearProgressIndicator constructor
const
LinearProgressIndicator(
- double fraction, {
- Style style = Style.empty,
- bool showPercentage = true,
- bool smooth = false,
- ProgressDirection direction = ProgressDirection.leftToRight,
- ProgressBarType barType = ProgressBarType.blocks,
- CrossAxisFill crossAxisFill = CrossAxisFill.span,
- ProgressColors colorBuilder()?,
- @Deprecated('Use colorBuilder instead') Color? startColor,
- @Deprecated('Use colorBuilder instead') Color? endColor,
- EasingFunction easing = Easing.linear,
Creates a LinearProgressIndicator.
Implementation
const LinearProgressIndicator(
this.fraction, {
this.style = Style.empty,
this.showPercentage = true,
this.smooth = false,
this.direction = ProgressDirection.leftToRight,
this.barType = ProgressBarType.blocks,
this.crossAxisFill = CrossAxisFill.span,
this.colorBuilder,
@Deprecated('Use colorBuilder instead') this.startColor,
@Deprecated('Use colorBuilder instead') this.endColor,
this.easing = Easing.linear,
});