HandPainter constructor

HandPainter({
  1. required double value,
  2. required int start,
  3. required int end,
  4. required Color color,
})

Implementation

HandPainter(
    {required this.value,
    required this.start,
    required this.end,
    required this.color})
    : minuteHandPaint = Paint() {
  minuteHandPaint.color = this.color;
  minuteHandPaint.style = PaintingStyle.fill;
}