unhide method

void unhide(
  1. PdfViewerController pdfViewerController
)

Restores (unhides) all highlights/underlines on the current page.

Implementation

void unhide(PdfViewerController pdfViewerController) {
  _highlightHistory[_currentPage]?.forEach((action) {
    pdfViewerController.addAnnotation(action.annotation);
  });
}