clear method

void clear()

Clear all images and actions on the current page

Implementation

void clear() {
  _imageBoxes[_currentPage]?.clear();
  _history[_currentPage]?.clear();
  _undoStack[_currentPage]?.clear();
  notifyListeners();
}