ItemPrintModel.text constructor

ItemPrintModel.text({
  1. required String? content,
  2. AlignModeEnum? align = AlignModeEnum.left,
  3. FontFormatEnum? fontFormat = FontFormatEnum.medium,
})

Implementation

ItemPrintModel.text({
  required this.content,
  this.align = AlignModeEnum.left,
  this.fontFormat = FontFormatEnum.medium,
})  : type = "text",
      height = null,
      lines = null;