0 purchases
epubease
EpubEase #
EpubEase is a Flutter package that allows users to open and read EPUB files easily. It provides features like opening EPUB files from assets or URLs, changing themes, adjusting font styles and sizes, accessing chapter contents, and more.
Features #
Open EPUB files from assets or URLs
Change themes with 5 options: Grey, Purple, White, Black, and Pink
Customize font style and size
Access table of contents and navigate to specific chapters
Display current chapter name at the bottom of the screen
Previous and next buttons to switch between chapters
Adjust screen brightness
Getting Started #
In your flutter project add the dependency:
dependencies:
epub_ease: ^1.0.0
copied to clipboard
Run the command:
flutter pub get
copied to clipboard
For more information, check out the documentation.
Usage example #
Import the package in your Dart code:
import 'package:epub_ease/epub_ease.dart';
copied to clipboard
To open an EPUB file from the assets, use the openAsset method:
EpubEase().openAsset('path_to_asset.epub', context);
copied to clipboard
To open an EPUB file from a URL, use the open method:
EpubEase().open('epub_url', context);
copied to clipboard
Demo #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.