Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Checkbox does not print #1795

Open
4 tasks
AtlasAutocode opened this issue Dec 16, 2024 · 0 comments
Open
4 tasks

Checkbox does not print #1795

AtlasAutocode opened this issue Dec 16, 2024 · 0 comments
Labels
bug Something isn't working needs triage

Comments

@AtlasAutocode
Copy link
Contributor

Describe the bug
Create a simple document using checkbox - value or name does not matter.
Save to PDF file - shows checkbox as expected
Print to Printer - checkbox is not shown

To Reproduce
Code snippet to reproduce the behavior:

    final pdf = pw.Document();
    pdf.addPage(
      pw.Page(
        build: (pw.Context context) => pw.Center(
          child: pw.Row ( children: [
            pw.Text ('Before'),
            pw.Checkbox(value: true, name: 'Hello World!'),
            pw.Text ('After'),
          ])
        ),
      ),
    );

    await Printing.layoutPdf(onLayout: (format) async => await pdf.save());

Expected behavior
Expect checkbox to be printed.
Actual behavior - there is a blank gap between the text.

Screenshots
image

Desktop (please complete the following information):

  • iOS
  • Android
  • Browser
  • [ X ] Windows
  • Linux
@AtlasAutocode AtlasAutocode added bug Something isn't working needs triage labels Dec 16, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

1 participant