I am using esc_pos_bluetooth package for printing but I cannot print arabic word in it I tried to convert it into image code is `
List<int> list = description.codeUnits;
Uint8List data = Uint8List.fromList(list);
final bytes=data.buffer.asUint8List();
final image= img.decodeImage(bytes);
ticket.image(image);
` but this show error like this
Unhandled Exception: NoSuchMethodError: The getter 'width' was called on null
how can i fix this how can i print arabic word in bluetooth printer.
I faced a similar issue when trying to print Arabic characters, and I tried several packages. However, I eventually found some useful Flutter SDKs for Thermal Printers that offer support for multiple languages: