HourHandPainter constructor

HourHandPainter({
  1. required int hours,
  2. required int minutes,
})

Implementation

HourHandPainter({required this.hours, required this.minutes})
  : hourHandPaint = new Paint() {
  hourHandPaint.color = Color(0xff222d62);
  hourHandPaint.style = PaintingStyle.stroke;
  hourHandPaint.strokeWidth = 6.0;
  hourHandPaint.strokeCap = StrokeCap.round;
}