ElginFont class

Enumeração de estilos de fonte disponíveis para impressão.

Use as constantes desta classe para alterar o tipo ou o estilo da fonte ao imprimir textos em dispositivos Elgin.

Exemplo de uso:

await Elgin.printer.printString(
  "Texto em negrito",
  font: ElginFont.BOLD,
);

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 do estilo de fonte 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

BOLD → const ElginFont
Estilo negrito (bold).
FONTA → const ElginFont
Fonte padrão A.
FONTB → const ElginFont
Fonte padrão B.
REVERSE → const ElginFont
Estilo reverso (inverte as cores da impressão).
UNDERLINE → const ElginFont
Estilo sublinhado.