ClockDialPainter constructor
ClockDialPainter({
- dynamic clockText = ClockText.roman,
Implementation
ClockDialPainter({this.clockText = ClockText.roman})
: tickPaint = new Paint(),
textPainter = new TextPainter(
textAlign: TextAlign.center,
textDirection: TextDirection.rtl,
),
textStyle = const TextStyle(
color: Colors.black,
fontFamily: 'Times New Roman',
fontSize: 15.0,
) {
tickPaint.color = Colors.white;
}