theyakka / qr.flutter

QR.Flutter is a Flutter library for simple and fast QR code rendering via a Widget or custom painter.
https://pub.dev/packages/qr_flutter
BSD 3-Clause "New" or "Revised" License
716 stars 320 forks source link

Generated QRs are lack of black borders at three positional marks, make QR code unreadable. #182

Open kobkrit opened 2 years ago

kobkrit commented 2 years ago

Describe the bug Generated QRs are lack of black band at three corners, make QR code unreadable.

To Reproduce

QrImage(
                backgroundColor: Colors.white,
                data: "http://www.github.com",
                version: QrVersions.auto,
                size: 320,
              )

Using it in iOS simulator.

image

Above image can not scan

Expected behavior Should have black borders at three positional marks.

cachapa commented 1 year ago

Seems to be happening because of impeller.

cachapa commented 1 year ago

On further testing, it's only happening on Flutter master. Looks fine on stable and beta.

AdrienLemaire commented 1 year ago

Using flutter stable, I'm getting broken qr codes from time to time (web android mobile). The 3 squares in the 3 corners have strange right and bottom gaps.