paint method
Paints the frame, the outline and the glyphs at the origin.
Implementation
void paint(Canvas canvas) {
if (frameColor != null) {
canvas.drawPath(pillPath, Paint()..color = frameColor!);
}
_outline?.paint(canvas, Offset(padding, 0));
_glyphs.paint(canvas, Offset(padding, 0));
}