epub_viewer_pro 0.0.1 copy "epub_viewer_pro: ^0.0.1" to clipboard
epub_viewer_pro: ^0.0.1 copied to clipboard

A full-featured Flutter EPUB viewer with chapter navigation, bookmarks, highlights, notes, dark/light/sepia themes, 25+ language fonts, DRM protection, and optional server-sync callbacks. Built on epu [...]

epub_viewer_pro #

pub.dev License: MIT Publisher

A full-featured EPUB viewer for Flutter with chapter-based navigation, bookmarks, highlights, notes, annotations, dark/light/sepia themes, multi-language Google Fonts support, and DRM protection.

Features #

  • 📖 EPUB parsing via epubx with HTML rendering (flutter_widget_from_html)
  • 🔖 Bookmarks — add, remove, sync with server
  • 🖍️ Highlights — text highlighting with color options
  • 📝 Notes — inline note annotations
  • ✏️ Annotations — pen drawing, eraser with undo/redo
  • 📑 Table of Contents — hierarchical drawer with progress
  • 🔍 Search — across all chapters
  • 🌙 Dark/Light/Sepia theme support
  • 🔤 Multi-language fonts — 25+ language-specific Google Fonts
  • Auto-scroll with configurable interval
  • 📊 Reading progress — chapter and scroll position persistence
  • 🔐 DRM protection — screenshot prevention
  • 🔒 Authenticated downloads — token-based file access
  • 📤 Server sync — optional bookmark/annotation/session sync via callbacks

Getting Started #

dependencies:
  epub_viewer_pro: ^0.0.1

Usage #

Basic #

import 'package:epub_viewer_pro/epub_viewer_pro.dart';

EpubViewerScreen(
  filePath: '/path/to/book.epub',
  title: 'My Book',
);

With Server Sync #

EpubViewerScreen(
  filePath: '/path/to/book.epub',
  title: 'My Book',
  bookId: 123,
  serviceConfig: EpubViewerServiceConfig(
    httpHeaders: {'Authorization': 'Bearer your-jwt-token'},
    onBookmarksSync: (bookId, bookmarks) async { /* sync */ },
    onMessage: (msg, type) { /* show toast */ },
  ),
);

License #

MIT License

1
likes
110
points
265
downloads

Documentation

API reference

Publisher

verified publishercodingfrontend.in

Weekly Downloads

A full-featured Flutter EPUB viewer with chapter navigation, bookmarks, highlights, notes, dark/light/sepia themes, 25+ language fonts, DRM protection, and optional server-sync callbacks. Built on epubx and flutter_widget_from_html.

Homepage
Repository (GitHub)
View/report issues

Topics

#epub #viewer #drm #annotations #flutter

License

MIT (license)

Dependencies

epubx, flutter, flutter_widget_from_html, http, path_provider, screen_protector

More

Packages that depend on epub_viewer_pro