hasContent method

bool hasContent({
  1. bool isRedo = false,
})

Implementation

bool hasContent({bool isRedo = false}) {
  return isRedo
      ? _underlineUndoStack[_currentPage]?.isNotEmpty == true
      : _underlineHistory[_currentPage]?.isNotEmpty == true;
}