18 lines
345 B
Dart
18 lines
345 B
Dart
/// Alignment for ticket printing.
|
|
///
|
|
/// Maps to the autoreplyprint AAR SDK CP_Pos_Alignment constants.
|
|
enum PrinterAlignment {
|
|
/// Left alignment
|
|
left(0),
|
|
|
|
/// Center alignment
|
|
center(1),
|
|
|
|
/// Right alignment
|
|
right(2);
|
|
|
|
/// The integer value matching the SDK constant.
|
|
final int value;
|
|
const PrinterAlignment(this.value);
|
|
}
|