undo method

void undo()

Undo the most recent paint action on the canvas.

This method allows you to revert the most recent paint action performed on the canvas.

Implementation

void undo() => {_paintCtrl.undo()};