This package is in development now. So it can be unstable and not work correctly. This package based on fb2_parse
- Parse FB2 file for get information about book. And this can be used for display book in WebView.
- Parse FB2 file for get information about book. And this can be used for display book in WebView.
- Provide widgets for display book in Flutter app.
- Provide library for editing of creating new FB2 files.
- Add dependency to your pubspec.yaml file:
dependencies:
funle_fb2: 1
- Import package in your dart file:
import 'package:funle_fb2/funle_fb2.dart';
- Use it:
// Create instance of FB2Parser
FB2Parser parser = FB2Parser("path/to/file.fb2");
// parse file
await parser.parse();
// get book info
String title = parser.description.title;