joseph-grabinger / flutter_to_pdf

Create PDFs but work with normal Flutter Widgets.
MIT License
21 stars 17 forks source link

Cant test the sample on web #48

Closed Macacoazul01 closed 8 months ago

Macacoazul01 commented 11 months ago

Not sure if this is related to the other issue on android, but on web nothing happens after i press any of the buttons.

It seems like the function to generate the pdf is running on the background (because the mouse stucks on the hand pointer for some time) but the file isnt created.

image

Macacoazul01 commented 11 months ago

Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 3.16.4, on Microsoft Windows [versao 10.0.22631.2861], locale pt-BR) [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 33.0.2) [√] Chrome - develop for the web [X] Visual Studio - develop Windows apps X Visual Studio not installed; this is necessary to develop Windows apps. Download at https://visualstudio.microsoft.com/downloads/. Please install the "Desktop development with C++" workload, including all of its default components [√] Android Studio (version 2022.3) [√] VS Code (version 1.85.1) [√] Connected device (4 available) [√] Network resources

! Doctor found issues in 1 category.

joseph-grabinger commented 10 months ago

This is a known issue on Web. Walking the widget tree and generating the PDF takes forever on web for some reason. It should finish at some point though.