printImage static method
printImage
With this method you can print an image in your printer. Just follow the examples that you can print even an image from web or an asset inside your project
Implementation
static Future<void> printImage(Uint8List img) async {
Map<String, dynamic> arguments = <String, dynamic>{};
arguments.putIfAbsent("bitmap", () => img);
await _channel.invokeMethod("PRINT_IMAGE", arguments);
}