hasClearContent method

bool hasClearContent()

Check if clearable content exists

Implementation

bool hasClearContent() {
  return _history[_currentPage]?.isNotEmpty == true ||
      _imageBoxes[_currentPage]?.isNotEmpty == true ||
      _undoStack[_currentPage]?.isNotEmpty == true;
}