clearAllPages method
void
clearAllPages()
Clears all drawings, text boxes, and undo stacks for all pages.
Implementation
void clearAllPages() {
_history.clear();
_undoStack.clear();
setPage(0);
notifyListeners();
}