import 'dart:typed_data'; import '../../models/stock_in.dart'; import '../../models/stock_out.dart'; import 'print_util_stub.dart' if (dart.library.js_interop) 'print_util_web.dart'; Future printProductLabel({ required Uint8List qrBytes, required String name, required String code, String? spec, String? series, String? batchNo, String? productionDate, String? remark, String shopName = '', String shopAddress = '', String shopPhone = '', }) => printProductLabelImpl( qrBytes: qrBytes, name: name, code: code, spec: spec, series: series, batchNo: batchNo, productionDate: productionDate, remark: remark, shopName: shopName, shopAddress: shopAddress, shopPhone: shopPhone, ); Future printStockInOrder(StockInOrder order) => printStockInOrderImpl(order); Future printStockOutOrder(StockOutOrder order) => printStockOutOrderImpl(order);