NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #208 most downloaded on pub.dev
A QR code generation library for Dart. Supports QR code version 1 through 40, error correction and redundancy.
Last release 4 months ago
16 May 2026
Release timing varies
gaps range from 2 weeks to 2.3 years
Nearly every release is documented
notes for 15 of 15 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
17 releases · first in 2018
Breaking Change : Removed QrBitBuffer from public exports to tighten the API surface.
QrBitBuffer from public exports to tighten the API surface.QrErrorCorrectLevel is now an enum (low, medium, quartile, high) instead of a class with integer constants (L, M, Q, H).QrCode and QrImage constructors and properties now use the QrErrorCorrectLevel enum instead of integers.dataCache getter from QrCode.QrCode is now immutable. Removed addData, addByteData, addNumeric, addAlphaNumeric, and addECI from QrCode.QrCode constructors into a single public factory constructor taking QrPayload, errorCorrectLevel, and an optional minTypeNumber. Removed QrCode.fromData, QrCode.fromUint8List, and QrCode.fromPayload.Uint8List and ByteData in public API signatures with TypedData.QrCode, QrImage, QrPayload, QrValidationResult, InputTooLongException) as final class to enforce structural immutability and prevent external subtyping.QrPayload class as a standalone accumulator for multi-part data and encoding modes (Numeric, Alphanumeric, Byte, ECI). Includes constructors fromString, fromTypedData, and methods addString, addTypedData, addNumeric, addAlphaNumeric, addECI.QrPayload.addECI and the QrEciValue extension type.QrValidationResult.fromPayload factory constructor to validate QR code payloads and predict valid configurations.QrValidationResult class returned by validation constructor.QrPayload.fromString and QrPayload.addString now intelligently pick the right mode.InputTooLongException for data that exceeds QR code version 40 capacity, preventing the generation of invalid QR codes.QrImage generation is ~50% faster.LargeQrCode generation is ~40% faster.sdk: ^3.11.0.One column per quarter.
Require package web: ^1.0.0 . Require Dart 3.4 or greater.
web: ^1.0.0.- Fix example in README.md. - Require Dart 2.16 or greater.
README.md.QrImage added to handle image bits.
QrImage added to handle image bits.QrCode.make() removedQrCode.isDark() moved to QrImageaddAlphaNumericAdded numeric mode support via addNumeric
addNumericExpose Mask Pattern as a parameter of QrCode.make()
>=2.12.0 <3.0.0.Nothing published for this version
Nothing published for this version
- Added QrCode.addByteData. - Added QrCode.fromUint8List.
QrCode.addByteData.QrCode.fromUint8List.Expose InputTooLongException exception so that applications and libraries can check for data length errors.
InputTooLongException exception so that applications and libraries
can check for data length errors.Require Dart SDK >=2.1.0 <3.0.0.
>=2.1.0 <3.0.0.Add fromData QrCode factory that allows QrCode initiation without providing typeNumber.
fromData QrCode factory that allows QrCode initiation without providing
typeNumber.- Support Dart 2 stable.
Require at least Dart SDK 2.0.0-dev.17.
2.0.0-dev.17.Update README to include basic documentation
- Initial release.
- Fix author email.
Your coding agent can read these notes before it upgrades. Set up the MCP server →