epub_view 2.2.0 copy "epub_view: ^2.2.0" to clipboard
epub_view: ^2.2.0 copied to clipboard

outdated

Flutter widget for view EPUB documents on on Web, MacOs, Android and iOS. Based on dart-epub package.

2.2.0 #

  • Upgrade packages
  • Minimum flutter version 2.2.0

2.1.0 #

Changed #

  • Removed data property from EpubController, now EpubReader.readBook can receive futures
EpubController(
-  data: _loadFromAssets('assets/book.epub'),
+  document: EpubReader.readBook(_loadFromAssets('assets/book.epub'))
);

2.0.0 #

  • Null-safety migration & Flutter v2 capability
  • Upgraded dependencies
  • Make [epub] package fork with name [epubx] and use it

1.0.0 #

  • Rename EpubReaderView -> EpubView
  • Rename EpubReaderController -> EpubReaderController
  • Removed constructors EpubReaderView.fromBytes (pass data to controller), EpubReaderView.builder (builder available in default constructor)
  • Documents load from controller by pass Future
  • Property controller now requires EpubReaderController
  • Added properties:
    1. onDocumentLoaded(EpubBook document) - calls on document loaded
    2. onDocumentError(Exception error) - calls on loading document error
    3. Widget errorBuilder(Exception error) - show document loading error in EpubViexs
  • Added MacOS support
  • For web support see flutter_html issue#300

0.8.0 #

  • Replaced package flutter_widgets to scrollable_positioned_list
  • Upgraded flutter_html dependency
  • Set minimal flutter version to 1.17.0

0.7.0 #

  • Expose chapter & items length into EpubReaderTableOfContents builder
  • Added padding property in EpubReaderTableOfContents

0.6.0 #

  • Removed excludeHeaders, headerBuilder, startFrom (use for replacement epubCfi)
  • Added onExternalLinkPressed(String href) for open external links
  • Added support for document hyperlinks
  • Added model Paragraph contains dom element & associated chapter index
  • Changed attribute paragraphs for ChaptersBuilder from List<dom.Element> paragraphs to List<Paragraph> paragraphs
  • Added widgets: EpubReaderTableOfContents, EpubActualChapter
  • In controller added currentValueStream, tableOfContentsStream, gotoEpubCfi(cfiString)
  • Refactoring

0.5.0 #

  • Added support for tables and images

0.4.2 #

  • Fixed opening some epub files (w/o id paragraph in *.ncx)

0.4.1 #

  • Fixed epub-reader controller attaching

0.4.0 #

  • Added more versatility of epub parser
  • Added table of contents
  • Parser and loader optimization - move the procedure to the background

0.3.1 #

  • Fixed epub-cfi parsing

0.3.0 #

  • Added controller to EpubReaderView widget

0.2.0 #

  • Added epub cfi support

0.1.0 #

  • Initial release
143
likes
0
pub points
91%
popularity

Publisher

verified publisherserge.software

Flutter widget for view EPUB documents on on Web, MacOs, Android and iOS. Based on dart-epub package.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, epubx, equatable, flutter, flutter_html, html, rxdart, scrollable_positioned_list

More

Packages that depend on epub_view