ElginQrcodeSize class
Enumeração dos tamanhos disponíveis para impressão de QR Code.
Use estas constantes para definir o tamanho do QR Code ao imprimir em uma impressora Elgin. O valor deve variar de 1 (menor) a 6 (maior), sendo que tamanhos maiores facilitam a leitura em distâncias maiores.
Exemplo de uso:
await Elgin.printer.printQRCode(
"https://exemplo.com",
size: ElginQrcodeSize.SIZE4,
);
Properties
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
- SIZE1 → const ElginQrcodeSize
- Tamanho 1 (menor QR Code).
- SIZE2 → const ElginQrcodeSize
- Tamanho 2.
- SIZE3 → const ElginQrcodeSize
- Tamanho 3.
- SIZE4 → const ElginQrcodeSize
- Tamanho 4 (recomendado para uso geral).
- SIZE5 → const ElginQrcodeSize
- Tamanho 5.
- SIZE6 → const ElginQrcodeSize
- Tamanho 6 (maior QR Code possível).