ItemPrintModel class

Constructors

ItemPrintModel.barcode({required String? content, AlignModeEnum? align = AlignModeEnum.center})
ItemPrintModel.image({required String? content, AlignModeEnum? align = AlignModeEnum.center, int? height = 200})
ItemPrintModel.linewrap({int? lines = 1})
ItemPrintModel.qrcode({required String? content, AlignModeEnum? align = AlignModeEnum.center, int? height = 200})
ItemPrintModel.text({required String? content, AlignModeEnum? align = AlignModeEnum.left, FontFormatEnum? fontFormat = FontFormatEnum.medium})

Properties

align AlignModeEnum?
final
content String?
final
fontFormat FontFormatEnum?
final
hashCode int
The hash code for this object.
no setterinherited
height int?
final
lines int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited