StatsAnimation constructor
StatsAnimation(
- Map<
String, double> stats, { - double widthMax = 100,
- Color colorBack = Colors.white,
- Color colorFill = Colors.blue,
- Duration timeForStart = const Duration(milliseconds: 200),
- int baseMillisecondOfAnimation = 1000,
- double widthText = 100,
- 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});