setSpread method

dynamic setSpread({
  1. required EpubSpread spread,
})

Removes a mark from epub viewer Set EpubSpread value

Implementation

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

///Set [EpubSpread] value
setSpread({required EpubSpread spread}) async {
  await webViewController?.evaluateJavascript(source: 'setSpread("$spread")');
}