PrintCmd class Null safety
- Implementers
Constructors
- PrintCmd()
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
addByte(
int byte) → void - 添加一个字节
-
addBytes(
List< int> bytes) → void - 添加字节数组
-
addString(
String str) → void - 添加字符串
-
clear(
) → void - 清除缓冲
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
rangeLimit(
int value, int minInclusive, int maxInclusive) → int -
setBlackColorDensity(
int density) → void - 设置黑色打印浓度
-
setPrintColor(
int printColor) → void - 设置打印颜色
-
setPrinterDoubleColorMode(
bool enable) → void - 设置双色打印开关
-
setRedColorDensity(
int density) → void - 设置红色打印浓度
-
toBytes(
) → Uint8List - 获取缓冲
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- printColorBlack → const int
-
黑色
49
- printColorRed → const int
-
红色
50