printText method
Print Text
Add custom style using PrintStyle with values. like alignment, text size, and font style.
Implementation
Future<void> printText(String text, {PrintStyle printStyle = const PrintStyle()}) async {
IminPrinterPlatform.instance.printText(text, printStyle);
}