redoFreehand method
Redoes the previously undone freehand stroke or erasure.
Implementation
@override
void redoFreehand() {
if (undoneStrokes.isNotEmpty) {
setState(() {
recordedStrokes.add(undoneStrokes.removeLast());
});
}
}
Redoes the previously undone freehand stroke or erasure.
@override
void redoFreehand() {
if (undoneStrokes.isNotEmpty) {
setState(() {
recordedStrokes.add(undoneStrokes.removeLast());
});
}
}