flutter_html_to_pdf
flutter_html_to_pdf copied to clipboard
pdf from direct html content is not generating
i have used this library but in first time it is not generating pdf...in first time html file is generating and when i click second time then pdf is created... i have checked path where i have given to for pdf generate at that path first time html file is present but not pdf...i also tried in demo that you have provided but same happen...here is my code
Directory downloadsDirectory =
await DownloadsPathProvider.downloadsDirectory;
targetPath = downloadsDirectory.path.toString();
var generatedPdfFile =
await FlutterHtmlToPdf.convertFromHtmlContent(
widget.model.invoice, targetPath, targetFileName);
i am getting below error in console : [ERROR:aw_browser_terminator.cc(125)] Renderer process (29976) crash detected (code -1).
can you help me in solving this issue..my project is stuck because of this issue...Thank you
I just tried following the docs religiously and failed. The library is currently unusable with major issues being ignored for months.
@Afur sir any update on this issue?
[ERROR:aw_browser_terminator.cc(125)] Renderer process (26120) crash detected (code -1).
Hello ✋ Unfortunately I am currently too busy to work on the development of this library. Any kind of contribution will be welcomed and published. 🙏
Same issue. PDF generated first time. Then always generated a html file.