qr/qr library

Classes

QRBitBuffer
QRCode
A widget that shows a QR code.
QRCodeGenerate
QRDataModuleStyle
Styling options for data module.
QREmbeddedImageStyle
Styling options for any embedded image overlay
QRErrorCorrectLevel
QREyeStyle
Styling options for finder pattern eye.
QRImage
Renders the encoded data from a QRCodeGenerate in a portable format.
QRPainter
A CustomPainter object that you can use to paint a QR code.
QRValidationResult
Captures the status or a QR code validation operations, as well as the rendered and validated data / object so that it can be used in any secondary operations (to avoid re-rendering). It also keeps any exception that was thrown.
QRValidator
A utility class for validating and pre-rendering QR code data.
QRVersion
This class only contains special version codes. QR codes support version numbers from 1-40 and you should just use the numeric version directly.

Enums

FinderPatternPosition
Enumeration representing the three finder pattern (square 'eye') locations.
QRCodeElement
Represents a specific element / part of a QR code. This is used to isolate the different parts so that we can style and modify specific parts independently.
QRDataModuleShape
Enumeration representing the shape of Data modules inside QR.
QREyeShape
Enumeration representing the finder pattern eye's shape.
QRValidationStatus
The status of the QR code data you requested to be validated.

Typedefs

QRErrorBuilder = Widget Function(BuildContext context, Object? error)
A function type to be called when any form of error occurs while painting a QRCode.

Exceptions / Errors

InputTooLongException
QREmbeddedImageException
An exception that is thrown when something goes wrong with the ImageProvider for the embedded image of a QrImageView or QrPainter.
QRUnsupportedVersionException
An exception that is thrown when an invalid QR code version / type is requested.