printText method

Future<void> printText(
  1. String text, {
  2. PTextAlign align = PTextAlign.left,
  3. PTextAttribute attribute = PTextAttribute.normal,
  4. PTextW width = PTextW.w1,
  5. PTextH height = PTextH.h1,
})

Prints the provided text with specified formatting options.

  • align Alignment of the text.
  • attribute Text attributes like bold or underline.
  • width Text width multiplier.
  • height Text height multiplier.

Implementation

Future<void> printText(
  String text, {
  PTextAlign align = PTextAlign.left,
  PTextAttribute attribute = PTextAttribute.normal,
  PTextW width = PTextW.w1,
  PTextH height = PTextH.h1,
}) {
  throw UnimplementedError('printText() has not been implemented.');
}