flutter_epub_viewer_kit 0.0.9
flutter_epub_viewer_kit: ^0.0.9 copied to clipboard
A customizable EPUB reader widget for Flutter. Supports iOS, Android, and Web platforms with features like pagination, scrolling, bookmarks, and customizable themes.
0.0.9 #
- Add multi-language localization support with
EpubReaderLocalization - Built-in translations for 11 languages: Korean (default), English, Chinese (Simplified), Hindi, Spanish, Arabic, French, Portuguese, Russian, Japanese, German
- All UI strings (settings panel labels, error messages) are fully localizable
- Custom translations supported via constructor with Korean defaults for backwards compatibility
- Fix
fontSansSerifEnglish value from'Gothic'to'Sans-serif' - Fix non-
EpubLoadExceptionerrors displaying rawe.toString()instead of localized unknown error message - Localize Noto Sans font button label via
fontNotoSansfield for consistency - Change
ColorTheme.namevalues from Korean to English
0.0.8 #
- Fix images not rendering in EPUB files — image-only elements (e.g.
<img>directly in<body>) were misclassified as spacing and silently dropped - Fix
getElementsByTagNamenot matching when the element itself is the<img>tag — now also checkselement.localName - Fix image paragraphs being filtered out due to empty
plainText—richContenttype now bypasses text-based filtering - Fix pagination for image-heavy EPUBs — each image paragraph is allocated a full page instead of near-zero height
- Add
blockTagssupport forimg,image,svgin_splitIntoBlockElements - Wrap standalone
<img>elements in<div>for correctflutter_htmlTagExtensionhandling - Improve EPUB image path resolution with filename-based and case-insensitive fallback matching
0.0.7 #
- Fix pagination density: pages no longer show only 1-2 lines or half-empty content
- Add
_ParagraphTypeclassification (plainText, dialogue, richContent, spacing) for accurate per-type measurement and rendering - Fix dialogue table rendering: measure and render with matching two-column layout (name + text)
- Fix
requiresRichContentalways being true — plain text paragraphs now useTextwidget instead ofHtml - Preserve spacing paragraphs (
 ) for proper section gaps - Split multi-row dialogue tables into individual paragraph items
- Reduce safe margin from 2x to 1x line height for better page utilization
- Remove unsupported platform files (linux, macos, windows) from example app
0.0.6 #
- Add comprehensive example app with feature configuration screen
- Add page/scroll mode toggle to settings panel
- Example app demonstrates all widget features: source types, watermark, max pages, persistence, resume position, custom bars, initial bookmarks
0.0.5 #
- Remove flutter_riverpod dependency to prevent version conflicts with user apps
- Replace Riverpod with Flutter's built-in ChangeNotifier for internal state management
- Remove unused bookmarks_provider.dart
0.0.3 #
- Remove unused platform runners (linux, macos, windows)
- Update README for pub.dev installation
0.0.2 #
- Initial release
- EPUB reader widget with pagination and scroll modes
- Customizable themes and fonts
- Bookmark management
- Settings persistence
- Support for iOS, Android, and Web platforms