Basic Flutter/Dart classes for ESC/POS printing
BSD 3-Clause "New" or "Revised" License
140
stars
304
forks
source link
what is this error ? RangeError (index): Invalid value: Not in inclusive range 0..9638: 9639 #130
Open
TamirlanBir opened 5 months ago
RangeError (index): Invalid value: Not in inclusive range 0..9638: 9639
I am trying to screenshot and print this image , but this error shows
full
await controller.capture().then( (value) async { setState(() { theimageThatComesfromThePrinter = value; }); final im.Image ims = im.decodeImage(theimageThatComesfromThePrinter!)!; bytes += generator.imageRaster(ims);