printText method

Future<bool> printText({
  1. required String text,
  2. String alignment = 'LEFT',
  3. int fontSize = 24,
  4. bool isBold = false,
})

Implementation

Future<bool> printText({
  required String text,
  String alignment = 'LEFT', // LEFT, CENTER, RIGHT
  int fontSize = 24,
  bool isBold = false,
}) {
  throw UnimplementedError('printText() has not been implemented.');
}