init
This commit is contained in:
17
lib/enums/printer_alignment.dart
Normal file
17
lib/enums/printer_alignment.dart
Normal file
@@ -0,0 +1,17 @@
|
||||
/// 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);
|
||||
}
|
||||
Reference in New Issue
Block a user