BarcodeLine class

A 1D barcode rendered from data — a till receipt's bottom transaction barcode. symbology is the encoding (code128 by default, matching a shop till); showText prints the human-readable value below the bars, as a printed slip does. Centred on the paper.

Inheritance

Constructors

BarcodeLine(String data, {String symbology = 'code128', bool showText = true})
const

Properties

data → String
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showText → bool
final
symbology → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited