SfPdfViewer.asset problem with pdf converted from pptx in Flutter dart

Viewed 19

The Showcase

I am using the package https://pub.dev/documentation/syncfusion_flutter_pdfviewer/latest/ to read the pdf from assets. My pdf is convert from pptx when look like this.

return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
        elevation: 0,
        centerTitle: true,
        backgroundColor: Colors.red[600],
      ),
      body: SfPdfViewer.asset(
        widget.pdfLink,
      ),
    );

When I test the SfPdfViewer using a standard one-page pdf is working very fine. but when I test the pdf using the pptx converted pdf it shows this error to me. Error

Is there any other preferred ways to insert pptx converted pdf?

1 Answers

We tried to reproduce the reported issue with provided details, but the converted PDF document is loaded properly without any exception in our end. We suspect this may be a document specific issue, please share your PDF document to reproduce the reported issue at our end.

Related