Skip to content
New issue

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

QRCode Size4 Not Found Error in esc_pos_printer_plus Version 0.0.3 #200

Open
OB-MobileDev opened this issue Oct 26, 2024 · 2 comments
Open

Comments

@OB-MobileDev
Copy link

OB-MobileDev commented Oct 26, 2024

I’m encountering an error when trying to build my Flutter application with the esc_pos_printer_plus package (version 0.0.3). The error occurs in network_printer.dart on line 162, where it tries to access QRCode Size4, which appears to be missing. Here’s the specific error message:

error: ../../.pub-cache/hosted/pub.dev/esc_pos_printer_plus-0.0.3/lib/src/network_printer.dart:162:26: Error: Member not found: 'Size4'. QRCode size = QRSize.Size4;

•	Flutter SDK Version: 3.24.4
•	Dart SDK Version: 3.5.4

It seems like Size4 is an undefined member in the QRSize class, possibly missing in this package version. If there’s a recommended workaround or a specific version that resolves this issue, please let me know.

@movieator
Copy link

Same problem here.
Flutter 3.24.1
Dart 3.5.1

@OB-MobileDev
Copy link
Author

Same problem here. Flutter 3.24.1 Dart 3.5.1

I changed this variable "Size4" to "size4" from "../../.pub-cache/hosted/pub.dev/esc_pos_printer_plus-0.0.3/lib/src/network_printer.dart:162:26:" and fixed error.

@andrey-ushakov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants