clearAllPages method

void clearAllPages()

Clear all pages and reset controller

Implementation

void clearAllPages() {
  _imageBoxes.clear();
  _history.clear();
  _undoStack.clear();
  setPage(0);
  notifyListeners();
}