This plugin uses the esc_pos_utils_plus package, which depends on the image package of Dart in version 3. The current version of Dart is already using image v4, and this causes some conflicts with other updated packages.
Due to the fact that this esc_pos package has not been updated for some time, I found the flutter_esc_pos_utils_image_3 package, which could be used as a replacement. It uses a mirror of the image version 3, and the required changes would be minimal.
I am using Flutter version 3.7.0.
See: https://pub.dev/packages/flutter_esc_pos_utils_image_3
This plugin uses the esc_pos_utils_plus package, which depends on the image package of Dart in version 3. The current version of Dart is already using image v4, and this causes some conflicts with other updated packages.
Due to the fact that this esc_pos package has not been updated for some time, I found the flutter_esc_pos_utils_image_3 package, which could be used as a replacement. It uses a mirror of the image version 3, and the required changes would be minimal. I am using Flutter version 3.7.0. See: https://pub.dev/packages/flutter_esc_pos_utils_image_3