@override void drawText(Canvas canvas) { super.drawText(canvas); TextPainter textPainter = createText(text: '0', style: textStyle); textPainter.paint(canvas, Offset(0, zeroLineY - textPainter.height / 2)); }