You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
generate pdf page using pdf documents addPage with dynamic content only generates pages with last content
To Reproduce
Document pdf = Document(version: PdfVersion.pdf_1_5, compress: true);
...
...
In console, i got these
before: Data 1
after: Data 1
before: Data 2
after: Data 2
before: Data 3
after: Data 3
here its works fine,
but if I try like this, ie) when I design within build
Expected behavior
pdf.addPage should works with dynamic data in loop
Screenshots
added
can you please add example to generate pdf with dynamic data
or If it is issue means, kindly resolve it.
Flutter Doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.3, on Microsoft Windows [Version 10.0.22631.4751], locale en-IN)
[✓] Windows Version (Installed version of Windows is version 10 or higher)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Visual Studio - develop Windows apps (Visual Studio Build Tools 2019 16.11.34)
[✓] Android Studio (version 2024.2)
[✓] Connected device (3 available)
[✓] Network resources
• No issues found!
Desktop (please complete the following information):
iOS
Android
Browser
[X ] Windows
Linux
Smartphone (please complete the following information):
Additional context
can you give any example with loop and dynamic data
The text was updated successfully, but these errors were encountered:
Describe the bug
generate pdf page using pdf documents addPage with dynamic content only generates pages with last content
To Reproduce
Document pdf = Document(version: PdfVersion.pdf_1_5, compress: true);
...
...
In console, i got these
before: Data 1
after: Data 1
before: Data 2
after: Data 2
before: Data 3
after: Data 3
here its works fine,
but if I try like this, ie) when I design within build
Expected behavior
pdf.addPage should works with dynamic data in loop
Screenshots
added
can you please add example to generate pdf with dynamic data
or If it is issue means, kindly resolve it.
Flutter Doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.3, on Microsoft Windows [Version 10.0.22631.4751], locale en-IN)
[✓] Windows Version (Installed version of Windows is version 10 or higher)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Visual Studio - develop Windows apps (Visual Studio Build Tools 2019 16.11.34)
[✓] Android Studio (version 2024.2)
[✓] Connected device (3 available)
[✓] Network resources
• No issues found!
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
can you give any example with loop and dynamic data
The text was updated successfully, but these errors were encountered: