print2ColumnText method
Future<bool?>
print2ColumnText({
- required String textLeft,
- required String textRight,
- int spaceLeft = 0,
- int spaceRight = 0,
- bool isBold = false,
- int fontSize = 30,
override
Implementation
@override
Future<bool?> print2ColumnText({
required String textLeft,
required String textRight,
int spaceLeft = 0,
int spaceRight = 0,
bool isBold = false,
int fontSize = 30,
}) async {
return await methodChannel.invokeMethod<bool>('print2Column', {
'leftText': textLeft,
"rightText": textRight,
"leftTextSize": spaceLeft,
"rightTextSize": spaceRight,
"isBold": isBold,
"fontSize": fontSize,
});
}