ProgressBar constructor

ProgressBar(
  1. {@required String title,
  2. @required double numerator,
  3. @required double denominator,
  4. @required double barWidth,
  5. @required double barHeight,
  6. @required Color barColor,
  7. @required TextStyle titleStyle,
  8. @required TextStyle dialogTextStyle,
  9. double padding = 0.0,
  10. Color backgroundColor = Colors.white,
  11. Color boarderColor = Colors.grey,
  12. bool showRemainder = true}
)

Implementation

ProgressBar(
    {@required this.title,
    @required this.numerator,
    @required this.denominator,
    @required this.barWidth,
    @required this.barHeight,
    @required this.barColor,
    @required this.titleStyle,
    @required this.dialogTextStyle,
    this.padding = 0.0,
    this.backgroundColor = Colors.white,
    this.boarderColor = Colors.grey,
    this.showRemainder = true});