packages.flutter icon indicating copy to clipboard operation
packages.flutter copied to clipboard

[web] [pdfx] The browser crashes when using PdfDocument.open Data(InternetFileUrl)) to open a 100M pdf file on the Internet。

Open lyf571321556 opened this issue 11 months ago • 0 comments

Describe the bug A clear and concise description of what the bug is. Large file loads cause the page to crash: image

To Reproduce Steps to reproduce the behavior: _pdfController = PdfController( document: PdfDocument.openData( InternetFile.get( 'https://dl2.ones.cn/lmgUI4vwKbEreoM0AW-41gsLoFw1?e=1693276086&token=b0yYnz4avmO3oveG34Z3pTIjRLG52PUcxxogPYkP:go_hTzML4o0ZGsPmTi2XenKE2DM&attname=03-%E3%80%8A%E4%BA%86%E8%A7%A3%20ONES%20%E5%B8%82%E5%9C%BA%E5%93%81%E7%89%8C%E3%80%8B.pdf', ), ), initialPage: _initialPage, );

lyf571321556 avatar Aug 28 '23 10:08 lyf571321556