printText method
Future<void>
printText(
- String text, {
- PTextAlign align = PTextAlign.left,
- PTextAttribute attribute = PTextAttribute.normal,
- PTextW width = PTextW.w1,
- PTextH height = PTextH.h1,
Prints the provided text with specified formatting options.
alignAlignment of the text.attributeText attributes like bold or underline.widthText width multiplier.heightText 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.');
}