display method

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

Move epub view to specific area using Cfi string or chapter href

Implementation

display({
  ///Cfi String of the desired location, also accepts chapter href
  required String cfi,
}) {
  checkEpubLoaded();
  webViewController?.evaluateJavascript(source: 'toCfi("$cfi")');
}