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