flutter_html_to_pdf
flutter_html_to_pdf copied to clipboard
Sometimes lags at _convertFromHtmlFilePath(htmlFile.path)
I passed HTML string to convertFromHtmlContent() and sometimes wasn't getting any response. Not even an error message.
Thought it had something to do with the HTML file generation. So used convertFromHtmlFile() and still facing the same problem.
I am facing the same issue. I observed that when the method lags, it only generates the HTML file and freezes. When I call the method again, it mostly works fine. So I used another package called retry which re-executes the method if the pdf generation takes more than two seconds.