FAProgressBar constructor

FAProgressBar(
  1. {Key key,
  2. int currentValue: 0,
  3. int maxValue: 100,
  4. double size: 30,
  5. Duration animatedDuration: const Duration(milliseconds: 300),
  6. Axis direction: Axis.horizontal,
  7. VerticalDirection verticalDirection: VerticalDirection.down,
  8. double borderRadius: 8,
  9. Color backgroundColor: const Color(0x00FFFFFF),
  10. Color progressColor: const Color(0xFFFA7268),
  11. int changeColorValue,
  12. Color changeProgressColor: const Color(0xFF5F4B8B),
  13. String displayText}
)

Implementation

FAProgressBar(
    {Key key,
    this.currentValue = 0,
    this.maxValue = 100,
    this.size = 30,
    this.animatedDuration = const Duration(milliseconds: 300),
    this.direction = Axis.horizontal,
    this.verticalDirection = VerticalDirection.down,
    this.borderRadius = 8,
    this.backgroundColor = const Color(0x00FFFFFF),
    this.progressColor = const Color(0xFFFA7268),
    this.changeColorValue,
    this.changeProgressColor = const Color(0xFF5F4B8B),
    this.displayText})
    : super(key: key);