flutter_readium
0.10.0, released 3 days ago by kb.dk
Unified reader widget for EPUB, PDF, audiobooks, comics and WebPub
What it does
Provides a single Dart API to open, display and interact with a wide range of publication formats. It supports text-to-speech, media overlays, annotations, and custom HTTP headers.
AI-written summary of version 0.10.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need an integrated e‑book reader that supports EPUB, PDF, comics and audiobooks in one place
- You want TTS and media overlay support without writing platform code
- You want a ready‑made widget that handles navigation, highlighting and position restoration
Skip it when
- You only need to display PDFs or a single format
- You require LCP‑protected publications
- You need a lightweight solution without the extra dependencies
Strengths
- Unified API across formats
- Supports TTS, media overlays, annotations
- Customizable selection actions and decorations
- Cross‑platform (iOS, Android, Web)
Weaknesses
- No LCP support yet
- Platform setup steps are required
- Large dependency footprint
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 5
Add native setup for iOS/Android (info.plist, AndroidManifest.xml) and enable web support in pubspec. No build_runner needed.
```dart
final _readium = FlutterReadium();
Publication? _publication;
Future<void> _open() async {
_publication = await _readium.openPublication('https://example.com/book.epub');
}
@override
Widget build(BuildContext context) {
if (_publication == null) return const CircularProgressIndicator();
return ReadiumReaderWidget(publication: _publication!);
}
```Alternatives
Packages that do the same job and could replace flutter_readium.
Works with
Packages commonly used together with flutter_readium: ones it builds on, ones built on it, and its own family.