components/u_epub_reader
library
Classes
-
UEpub
-
EPUB shortcuts: metadata, cover image and full text; pure Dart, all platforms.
await UEpub.cover(url: url)
-
UEpubBlockView
-
One EPUB block (or the part of it on the current page) with markups painted in.
-
UEpubImageView
-
An image inside an EPUB.
-
UEpubReader
-
Full EPUB reader in pure Dart (all platforms): chapters, fonts, themes, search, highlights, notes, drawing, resume position.
UEpubReader(url: "https://x.com/book.epub")
-
UEpubReaderState
-
State of UEpubReader; use a GlobalKey to control it.
-
UEpubSettingsPanel
-
Reading settings (font, size, spacing, theme, margins).
-
UEpubTextStyler
-
Builds the exact TextSpan a block is rendered with, so pagination,
highlight painting and hit-testing all agree on the same layout.