AnalogClockPainter constructor
AnalogClockPainter({
- required DateTime datetime,
- bool showDigitalClock = true,
- bool showTicks = true,
- bool showNumbers = true,
- bool showSecondHand = true,
- Color hourHandColor = Colors.black,
- Color minuteHandColor = Colors.black,
- Color secondHandColor = Colors.redAccent,
- Color tickColor = Colors.grey,
- Color digitalClockColor = Colors.black,
- Color numberColor = Colors.black,
- bool showAllNumbers = false,
- double textScaleFactor = 1.0,
- bool useMilitaryTime = true,
Implementation
AnalogClockPainter(
{required this.datetime,
this.showDigitalClock = true,
this.showTicks = true,
this.showNumbers = true,
this.showSecondHand = true,
this.hourHandColor = Colors.black,
this.minuteHandColor = Colors.black,
this.secondHandColor = Colors.redAccent,
this.tickColor = Colors.grey,
this.digitalClockColor = Colors.black,
this.numberColor = Colors.black,
this.showAllNumbers = false,
this.textScaleFactor = 1.0,
this.useMilitaryTime = true});