CpclCommand class

Inheritance
  • Object
  • PlatformInterface
  • CpclCommand

Constructors

CpclCommand()

Properties

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

Methods

barCode({required String content, int x = 0, int y = 0, int width = 4, int height = 100, bool vertical = false, BarCodeType codeType = BarCodeType.c_128}) Future<void>
cleanCommand() Future<void>
getCommand() Future<Uint8List?>
image({required Uint8List image, int x = 0, int y = 0}) Future<void>
line({required int x, required int y, required int endX, required int endY, int width = 2}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
print() Future<void>
qrCode({required String content, int x = 0, int y = 0, int width = 6}) Future<void>
size({required dynamic width, required dynamic height, int copies = 1}) Future<void>
text({required String content, int x = 0, int y = 0, int xMulti = 1, int yMulti = 1, Rotation rotation = Rotation.r_0, bool bold = false}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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