ElginBarcodeTextPosition class

Enumeração que define a posição do texto em relação ao código de barras impresso.

Use as constantes desta classe para determinar onde o texto será exibido quando um código de barras for impresso na impressora Elgin.

Exemplo de uso:

await Elgin.printer.printBarCode(
  "1234567890",
  textPosition: ElginBarcodeTextPosition.TEXT_ABOVE,
);

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
Valor inteiro utilizado pelo protocolo da impressora.
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

Constants

BOTH → const ElginBarcodeTextPosition
Exibe o texto tanto acima quanto abaixo do código de barras.
NO_TEXT → const ElginBarcodeTextPosition
Não exibe texto junto ao código de barras.
TEXT_ABOVE → const ElginBarcodeTextPosition
Exibe o texto acima do código de barras.
TEXT_UNDER → const ElginBarcodeTextPosition
Exibe o texto abaixo do código de barras.