line method

Future<void> line({
  1. String ch = '-',
  2. int len = 31,
})

Implementation

Future<void> line({
  String ch = '-',
  int len = 31,
}) async {
  await GertecPrinterPlatform.instance
      .printText(GertecText(text: List.filled(len, ch[0]).join()));
}