pos_connect_aidl 1.0.5
pos_connect_aidl: ^1.0.5 copied to clipboard
this package with to connect q6pro pos with AIDL this package for now only support images print.
POS CONNECT AIDL #
this package with to connect q6pro pos with AIDL this package for now only support images print
Note #
The image must have a white background color.
Getting Started #
First import
import 'package:pos_connect_aidl/pos_connect_aidl.dart';
Usage/Examples #
import 'package:pos_connect_aidl/pos_connect_aidl.dart';
final _posConnectAidlPlugin = PosConnectAidl();
final ByteData bytes = await rootBundle.load('assets/Receipt.jpg');
final Uint8List listBytes = bytes.buffer.asUint8List();
await _posConnectAidlPlugin.printImage(pathImage: listBytes)