mr_epub 0.0.4
mr_epub: ^0.0.4 copied to clipboard
A Flutter package for reading EPUB books with highlight, bookmark, and customizable theme support.
mr_epub #
A lightweight Flutter package to read EPUB books with highlights, bookmarks, and theme customization.
Designed for mobile and desktop apps that need a fast, configurable EPUB reader experience.
✨ Features #
- 📖 Render
.epubfiles (from assets, file path, or bytes) - 🖍️ Text highlight with multiple colors
- 🔖 Bookmark pages/locations
- 🌓 Themes: light / dark / sepia + custom font size & line height
- 📑 TOC (Table of Contents) and chapter navigation
- ♿ Selectable text & copy support
- search any text
- fullscreen mode
Note: Feature availability may depend on your integration. See the example app for a working reference.
🚀 Quick Example:
final bytes = (await rootBundle.load('')).buffer.asUint8List();
MrEpub( epubBytes: bytes, initialFontFamily: "Sans", initialFontSize: "110%", fontFamilies: const ["Default", "Sans", "Serif", "Monospace"], );
📦 Installation #
Add the package to your pubspec.yaml:
dependencies:
mr_epub: ^0.0.4