text method
Implementation
Future<void> text({
required String content,
int x = 0,
int y = 0,
int xMulti = 1,
int yMulti = 1,
Rotation rotation = Rotation.r_0,
bool bold = false,
}) async {
int rota = EnumTool.getRotation(rotation);
Map<String, dynamic> params = {
"content": content,
"x": x,
"y": y,
"xMulti": xMulti,
"yMulti": yMulti,
"rotation": rota,
"bold": bold,
};
await methodChannel.invokeMethod<void>('text', params);
}