StatsAnimation constructor

StatsAnimation(
  1. Map<String, double> stats, {
  2. double widthMax = 100,
  3. Color colorBack = Colors.white,
  4. Color colorFill = Colors.blue,
  5. Duration timeForStart = const Duration(milliseconds: 200),
  6. int baseMillisecondOfAnimation = 1000,
  7. double widthText = 100,
  8. MainAxisAlignment mainAxisAlignmentRow = MainAxisAlignment.start,
})

Implementation

StatsAnimation(this.stats,
    {this.widthMax = 100,
    this.colorBack = Colors.white,
    this.colorFill = Colors.blue,
    this.timeForStart = const Duration(milliseconds: 200),
    this.baseMillisecondOfAnimation = 1000,
    this.widthText = 100,
    this.mainAxisAlignmentRow = MainAxisAlignment.start});