col method
PosColumn
col(})
Helper to create PosColumn with mapped styles (so user doesn't need to import PosStyles)
Implementation
PosColumn col(
String text,
int width, {
FontSize size = FontSize.normal,
bool bold = false,
PosAlign align = PosAlign.left,
}) {
return PosColumn(
text: text,
width: width,
styles: ThermalFontMapper.style(size, bold: bold, align: align),
);
}