Mantano / iridium_reader_widget

Plug and play reader widget
Other
40 stars 10 forks source link

Plug and play reader widget allowing to easily integrate an Iridium viewer inside any app.

Features

Getting started

TODO: List prerequisites and provide or point to information on how to start using the package.

Usage

The example suidirectory provides a minimalistic starting point.

Add the iridium_reader_widget project as a submodule and add it to the dependencies list (it is not published on Pub.dev yet).

In the Flutter screen where you want to embed a vieser:

import 'package:iridium_reader_widget/views/viewers/epub_screen.dart';

And anywhere in your view hierarchy:

EpubScreen.fromPath(filePath: widget.dirPath)

Additional information

More information here and here.