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.
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.');
}