removeHighlight method

dynamic removeHighlight({
  1. required String cfi,
})

Adds a mark annotation Removes a highlight from epub viewer

Implementation

// addMark({required String cfi}) {
//   checkEpubLoaded();
//   webViewController?.evaluateJavascript(source: 'addMark("$cfi")');
// }

///Removes a highlight from epub viewer
removeHighlight({required String cfi}) {
  checkEpubLoaded();
  webViewController?.evaluateJavascript(source: 'removeHighlight("$cfi")');
}