flutter_book_reader 1.0.0
flutter_book_reader: ^1.0.0 copied to clipboard
A customizable Flutter reader widget for novels and ebooks: lazy chapter loading, paginated and continuous-scroll modes, themes, and pluggable data sources & progress storage.
Changelog #
1.0.0 #
Initial release.
- Three page modes: horizontal paging (seamless, flicker-free chapter crossing), continuous vertical scroll (auto chapter loading), and no-animation.
- Paragraph-aware pagination via
TextPainter; reader-owned first-line indent, paragraph spacing, and justification. Reading position preserved across font-size / line-height / system-text-scale changes. - Lazy chapter loading with neighbor prefetch, bounded LRU cache, and loading / error-retry states.
- Pluggable
BookSource(data) andReaderProgressStore(progress) abstractions. - Debounced progress saving with flush on app background.
- Six built-in themes with per-theme accent color; font size / line height / brightness overlay.
- Localizable UI strings via
ReaderLabels; basic accessibility semantics. - Callbacks:
onChapterChanged,onPositionChanged,onClose.