SpeedTextPainter constructor
Implementation
SpeedTextPainter(
{required this.start, required this.end, required this.value})
: tickPaint = Paint(),
textPainter = TextPainter(
textAlign: TextAlign.center,
textDirection: TextDirection.rtl,
),
textStyle = const TextStyle(
color: Colors.black,
fontSize: 15.0,
) {
tickPaint.color = Colors.white;
}