Encoder class

Generates Aztec 2D barcodes.

@author Rustam Abdullaev

Constructors

Encoder()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

encode(String data, [int minECCPercent = defaultAztecLayers, int userSpecifiedLayers = defaultAztecLayers, Encoding? charset]) AztecCode
Encodes the given string content as an Aztec symbol
encodeData(Uint8List data, [int minECCPercent = defaultAztecLayers, int userSpecifiedLayers = defaultAztecLayers, Encoding? charset]) AztecCode
Encodes the given binary content as an Aztec symbol
generateModeMessage(bool compact, int layers, int messageSizeInWords) BitArray
stuffBits(BitArray bits, int wordSize) BitArray

Constants

defaultAztecLayers → const int
defaultEcPercent → const int