LineText class

Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

LineText({String? type, String? content, int? size = 0, int? align = ALIGN_LEFT, int? weight = 0, int? width = 0, int? height = 0, int? underline = 0, int? linefeed = 0, int? fontWidth = 1, int? fontHeight = 1, int? codeHeight = 40, int? codeWidth = 5, int? x = 0, int? y = 0})
LineText.fromJson(Map<String, dynamic> json)
factory

Properties

align int?
final
codeHeight int?
final
codeWidth int?
final
content String?
final
fontHeight int?
final
fontWidth int?
final
hashCode int
The hash code for this object.
no setterinherited
height int?
final
linefeed int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int?
final
type String?
final
underline int?
final
weight int?
final
width int?
final
x int?
final
y int?
final

Methods

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

Operators

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

Constants

ALIGN_CENTER → const int
ALIGN_LEFT → const int
ALIGN_RIGHT → const int
TYPE_BARCODE → const String
TYPE_IMAGE → const String
TYPE_QRCODE → const String
TYPE_TEXT → const String