SemiCircleGraphPainter constructor

SemiCircleGraphPainter({
  1. Animation<double> progress = const AlwaysStoppedAnimation(1.0),
  2. required double percent,
  3. required BorderSide foreground,
  4. required BorderSide background,
})

Implementation

SemiCircleGraphPainter({
  this.progress = const AlwaysStoppedAnimation(1.0),
  required this.percent,
  required this.foreground,
  required this.background,
})  : assert(percent >= 0.0 && percent <= 1.0),
      super(repaint: progress);