qr_flutter library Null safety

Classes

QrBitBuffer
QrCode
QrDataModuleStyle
Styling options for data module.
QrEmbeddedImageStyle
Styling options for any embedded image overlay
QrErrorCorrectLevel
QrEyeStyle
Styling options for finder pattern eye.
QrImage
A widget that shows a QR code.
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.
QrVersions
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 QrImage.

Exceptions / Errors

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