file method

Future<String> file(
  1. File file,
  2. String title, {
  3. required String desc,
  4. required String cover,
  5. required bool auto,
})

This will load the file from the file-URI given by: 'file://${file.path}'.

Implementation

Future<String> file(File file, String title,
    {required String desc, required String cover, required bool auto}) async {
  return await start("file://${file.path}", title,
      desc: desc, cover: cover, auto: auto);
}