epub_view 2.2.0 epub_view: ^2.2.0 copied to clipboard
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
, nowEpubReader.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 requiresEpubReaderController
- Added properties:
- onDocumentLoaded(EpubBook document) - calls on document loaded
- onDocumentError(Exception error) - calls on loading document error
- 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
toscrollable_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 replacementepubCfi
) - 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
fromList<dom.Element> paragraphs
toList<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