hasClearContent method

bool hasClearContent()

Checks if there is any content (history or undo stack) for the current page.

Implementation

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