antd_qrcode 1.0.2
antd_qrcode: ^1.0.2 copied to clipboard
Ant Design v6 QRCode component for Flutter. QR code display with error levels, status overlays (expired/scanned) and embedded icon, aligned with antd React QRCode API.
Changelog #
1.0.2 #
- Republished with a Web-compatible dependency chain.
- Republished to refresh pub.dev platform scoring.
1.0.1 #
- Fix pub.dev static analysis results by aligning internal dependency constraints.
- Ship the package example and tighten pubspec metadata for better pub.dev scoring.
- Documentation and changelog polish.
1.0.0 #
Initial stable release of the standalone antd_qrcode package.
Features #
AntQRCoderenders a QR code from aStringwithCustomPaint, sized in theme-scaled design pixels.- Four error-correction levels (
AntQRCodeErrorLevel.l/m/q/h) mapping to 7%, 15%, 25% and 30% recoverable data. - Optional foreground and background colors, defaulting to the Ant Design text and container colors.
- Optional 1 px
colorSplitborder withborderRadiusLGcorners viabordered. - Optional center glyph (
icon,iconSize) rendered only while the code is active. - Status overlays for
active,expiredandscanned; the expired overlay becomes tappable whenonRefreshis provided. - Theme integration through
antd_themefor radius, border color, text color and background color. - Self-contained pure-Dart QR engine absorbed from
package:qr3.0.3, wrapped behind an internalAntQrMatrixmiddleware and stable against a pre-migration baseline. - Public
AntQrPainterfor rendering the same modules on a custom canvas.
Notes #
- Display only: no scanning, decoding or image export.
- Overlay labels are fixed Chinese strings and are not localized.
sizeincludes 12 px padding on each side, so the painted module area issize - 24.- The center glyph is a built-in icon rather than a custom logo slot.
- The absorbed QR engine remains BSD-3-Clause; see
LICENSE-THIRD-PARTY.md.