PrintCommand.block constructor
PrintCommand.block(})
Implementation
factory PrintCommand.block(
String text, {
double? x,
double? y,
double? width,
double? height,
int? lineWidth = 0,
int? lineStyle = 0,
}) {
return PrintCommand(
text: '',
isBlock: true,
blockText: text,
x: x,
y: y,
blockWidth: width,
blockHeight: height,
blockLineWidth: lineWidth,
blockLineStyle: lineStyle,
);
}