PosLeftRightText class abstract

Implemented types

Constructors

PosLeftRightText({required String leftText, Uint8List? leftTextEncoded, PosStyles leftTextStyles, bool leftTextContainsChinese, int leftTextWidth, required String rightText, Uint8List? rightTextEncoded, PosStyles rightTextStyles, bool rightTextContainsChinese, int rightTextWidth})
Creates ESC/POS commands for creating a row of 2 texts aligned left and right.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generate(Generator generator) List<int>
Generates ESC/POS commands based on generator's CapabilityProfile, PaperSize, PosStyles, etc.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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