incrediblezayed / file_saver

A simple flutter plugin for saving files in all platforms
https://pub.dev/packages/file_saver
BSD 3-Clause "New" or "Revised" License
75 stars 103 forks source link

Can't save / download on web #91

Closed shajin-sha closed 10 months ago

shajin-sha commented 10 months ago

Error

code

FileSaver.instance.saveFile(
        name: 'graphical_abstract_review.pfd',
        file: File.fromRawPath(bytes),
        ext: 'pdf',
        mimeType: MimeType.custom,
        customMimeType: "application/pdf",
      );