dart_pdf
dart_pdf copied to clipboard
When a wand to export my PDF file i Have a error. 'package:pdf/src/pdf/format/num.dart': Failed assertion: line 32 pos 12: '!value.isNaN': is not true.
Did you check this lines value => line 32 pos 12 ?? :D You can put everywhere a ?? null check :D
Did you check this lines value => line 32 pos 12 ?? :D You can put everywhere a ?? null check :D
I can't understand the problem since it comes directly from the package. can you be a little more specific? thank you very much
First you should find the problem , i suggest you to use Debug , if not work then. Comment part by part till it opens. And use null operator like pw.Text( (foldingProductNo[findex][refIsmi] ?? ""), style: pw.TextStyle(fontSize: fontsize), textAlign: center, ), to find problem. Hope you solve. Inform us please .