canRedo property

bool get canRedo

Whether there is a subsequent drawing state available to redo.

Implementation

bool get canRedo => _redoStack.isNotEmpty;