packages.flutter
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。
Describe the bug
A clear and concise description of what the bug is.
Large file loads cause the page to crash:
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, );