Paints the content on the given canvas.
canvas
@override void paintOnCanvas(Canvas canvas) { // No painting required for undo/redo actions. }