Open TamirlanBir opened 9 months ago
bytes += ticket.row([ PosColumn( textEncoded: companyKassa, width: 3, styles: const PosStyles( align: PosAlign.center, fontType: PosFontType.fontA)), PosColumn( text: '|', width: 6, styles: const PosStyles(align: PosAlign.center)), PosColumn( textEncoded: companyShift, width: 3, styles: const PosStyles(align: PosAlign.center)), ]);
I got this error Unhandled Exception: Exception: Only one parameter - text or textEncoded - should be passed
Unhandled Exception: Exception: Only one parameter - text or textEncoded - should be passed
+1
bytes += ticket.row([ PosColumn( textEncoded: companyKassa, width: 3, styles: const PosStyles( align: PosAlign.center, fontType: PosFontType.fontA)), PosColumn( text: '|', width: 6, styles: const PosStyles(align: PosAlign.center)), PosColumn( textEncoded: companyShift, width: 3, styles: const PosStyles(align: PosAlign.center)), ]);
I got this error
Unhandled Exception: Exception: Only one parameter - text or textEncoded - should be passed