Issue / Feature
When I add the package to my app, the search and config menus are not shown in the appbar, instead an overflow menu is shown with "Go Back". The sample app and the FlutterEbookApp are working fine. I don't know what am I missing.
Platform (android, iOS or both)
Android - didn't check on iOS
Steps to reproduce / Describe in detail
I'm following the tutorial. I don't know what am I missing:
EpubViewer.setConfig(
identifier: 'androidBook',
themeColor: Theme.of(context).accentColor,
scrollDirection: EpubScrollDirection.VERTICAL,
enableTts: false,
allowSharing: true,
);
await EpubViewer.openAsset(
'assets/TheSilverChair.epub',
);
// Get locator which you can save in your database
EpubViewer.locatorStream.listen((locator) {
print(
'LOCATOR: ${EpubLocator.fromJson(jsonDecode(locator))}');
// convert locator from string to json and save to your database to be retrieved later
});
Issue / Feature When I add the package to my app, the search and config menus are not shown in the appbar, instead an overflow menu is shown with "Go Back". The sample app and the FlutterEbookApp are working fine. I don't know what am I missing.
Platform (android, iOS or both) Android - didn't check on iOS
Steps to reproduce / Describe in detail I'm following the tutorial. I don't know what am I missing:
app\build.gradle
pubsec.yaml
Usage: