QrCode class

A QR code captured from images (e.g. the frames of a camera stream), with its location and content.

Constructors

QrCode({int contentCacheLimit = 10})
Initializes a new QR code. contentCacheLimit is the number of times the content is kept as valid when decoding fails.

Properties

content QrContent?
The content of the QR code.
no setter
contentCacheLimit int
The number the number of times the content is kept as valid when decoding fails.
final
hashCode int
The hash code for this object.
no setterinherited
location QrLocation?
The location of the QR code.
no setter
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
scanBitMatrix(BitMatrix matrix, {bool invalidateContent = false, bool ignoreIfUnreadable = false, bool perfectQrCode = false}) → dynamic
Scan a BitMatrix to update QR code content and location.
scanImage(Image? image) → dynamic
scanImageBytes(Uint8List bytes) → dynamic
Scan an encoded image in any format supported by the dart image library to update QR code and location
scanRgbaBytes(Uint8List bytes, int width, int height, {bool ignoreIfUnreadable = false}) → dynamic
Scan an image encoded as a Uint8List of RGBA values to update QR code content and location.
toString() String
A string representation of this object.
inherited

Operators

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