qr.dart
qr.dart is a Dart library for generating QR codes, supporting versions 1 through 40, adjustable error-correction levels, and Extended Channel Interpretation for multi-part or non-ASCII payloads.
qr.dart generates QR codes in Dart, covering QR versions 1 through 40, configurable error-correction and redundancy levels, and Extended Channel Interpretation (ECI) support for encoding multi-part or non-default-charset payloads.
A QrCode is built from a QrPayload, either a simple string or one composed with ECI segments added explicitly, and wrapped in a QrImage for rendering; a caller iterates the image's modules and checks isDark at each position to draw the code with whatever graphics API it is using. The package is used by downstream libraries including pretty_qr_code, a Flutter widget for rendering QR codes, and qr_image_exporter, which exports QR codes as PNG image data.