printAreaSize static method
Future<int>
printAreaSize({
- dynamic offset,
- dynamic horizontal,
- dynamic vertical,
- dynamic height,
- dynamic qty,
下面是之前写的安卓调用原声接口
Implementation
// 设置标签高度
static Future<int> printAreaSize(
{offset, horizontal, vertical, height, qty}) async {
final int p = await _channel.invokeMethod('printAreaSize', {
'offset': offset,
'horizontal': horizontal,
'vertical': vertical,
'height': height,
'qty': qty
});
return p;
}