@ -22,7 +22,7 @@ public class PrintAsOrder {
private static void printBarCode(String code) {
String width = "2";
if (code.length() > 20) {
if (code.length() > 18) {
width = "1";
}
try {
@ -75,7 +75,7 @@ class _HomeState extends State<Home> {
TextButton(
onPressed: () async {
await HyPrinter.printAsOrder(
code: 'ASNB202112120001',
code: 'ASASNB2021121200011',
fbaCode: '',
channel: "",
country: '',