kaushikgodhani / vocsy_epub_viewer

Apache License 2.0
30 stars 64 forks source link

How to use the parameters returned by method locaterStream ? #14

Closed cqq0920 closed 1 year ago

cqq0920 commented 1 year ago

EpubViewer.locatorStream.listen((locator) { // print('------------------LOCATOR: ${EpubLocator.fromJson(jsonDecode(locator))}') }); I find that print doesn't work and I cannot use locater to call some method . It seems that this method can only return pagenum and now can I detect it is the lastpage or not . there are some parameters in log,such as scrollTolast and DirectionalViewpager. i dont know which method are these belong to?how can I use them ? anybody help?thx

vocsygautam commented 1 year ago

This method is use to get last page Location