We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
To Reproduce Code snippet to reproduce the behavior:
bool finish = false; try { for (int i = 0; i < copies; i++) { final data = await Printing.directPrintPdf( onLayout: (PdfPageFormat format) async => doc.save(), format: pageFormat ?? PdfPageFormat.a5, printer: printer, usePrinterSettings: true, // princed A4 ); if (!data) break; finish = i == copies - 1 && data; endpointsStream.add('printing copy no ---> $i finished = $finish'); } } catch (e, st) { finish = true; showCommonSnackBar( "Printer Error $e", backgroundColor: MyTheme.errorColor, ); endpointsStream.add("print error = $e \n\n $st"); }
Expected behavior
Screenshots
Flutter Doctor
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
To Reproduce
Code snippet to reproduce the behavior:
Expected behavior
Screenshots
Flutter Doctor
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: