epub_comic_reader 4.0.2 copy "epub_comic_reader: ^4.0.2" to clipboard
epub_comic_reader: ^4.0.2 copied to clipboard

Epub package fork. Suitable for use on Mobile comic epub books

Dart Epub Comic Reader #

A package to read epub files, primarily based of the epub books used by Black Valley Comics. This was forked from the epubx package that can be found on pub.flutter-io.cn

Deployment #

To use the package we first must call an instance of the package.

Basic Usage #

import 'package:epub_comic_reader/epub_comic_reader.dart' as reader;

return FutureBuilder<Widget>(
    future: epub.EpubViewManager(
        ebookUri: 'https-link-to-epub-file',
        title: 'String title',
        appBarTheme: AppBarTheme(),
        //  nullable 
        isLightMode: true,
        //  nullable
        changeAppBarTheme: () {
            //  SOME FUNCTION 
        },
        //  nullable 
        dropDownItemList: <String>[],
        //  nullable 
        dropDownButtonIcon: Icon(Icons.chosen_icon),
        //  nullable 
        initialValue: 'Initial Value',
        //  nullable 
        onDropDownItemSelected: (String? string) {
            //  SOME FUNCTION 
        }
    ).renderEbookReader(true) ,
    builder: (context, snapshot) {
        if (snapshot.hasData) {
            return snapshot.data;
        }else{
            return CircularProgressIndicator();
        } // end if-else 
    }  // end future builder 
);

renderEbookReader(boolean: orientation)

  • Vertical - True
  • Horizontal - False

Please note. If functions for the drop down button are declared the items list must not be empty.

Authors #

1
likes
0
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

Epub package fork. Suitable for use on Mobile comic epub books

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

archive, collection, flutter, flutter_svg, http, image, path, quiver, webview_flutter, xml

More

Packages that depend on epub_comic_reader