Nf5503PrintAlign enum
打印内容对齐方式,对应原生 PrintConfig.Align 常量。
Values
- left → const Nf5503PrintAlign
-
左对齐。
const Nf5503PrintAlign(1) - center → const Nf5503PrintAlign
-
居中对齐。
const Nf5503PrintAlign(2) - right → const Nf5503PrintAlign
-
右对齐。
const Nf5503PrintAlign(3)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
原生 SDK 使用的整数值。
final
Methods
-
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
Static Methods
-
fromValue(
int value) → Nf5503PrintAlign - 根据原生 SDK 返回值转换为 Flutter 枚举,未知值默认左对齐。
Constants
-
values
→ const List<
Nf5503PrintAlign> - A constant List of the values in this enum, in order of their declaration.