Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QrPainter emptyColor has no effect #60

Closed
jjjachyty opened this issue Sep 19, 2019 · 4 comments
Closed

QrPainter emptyColor has no effect #60

jjjachyty opened this issue Sep 19, 2019 · 4 comments
Assignees
Labels
bug Something isn't working fixed Fixed and will be included in next release
Milestone

Comments

@jjjachyty
Copy link

jjjachyty commented Sep 19, 2019

var qrcode = new QrPainter(
          data: user.uuid,
          version: QrVersions.auto,
          //  embeddedImage: Image(),
          color: Colors.indigo,
          emptyColor: Colors.blue,
          // size: 320.0,
          embeddedImageStyle: QrEmbeddedImageStyle(
            size: Size(60, 60),
          ),
        );

the emptyColors not work,and i save image with png,the image background colors was black
by the way:how can i use embeddedImage added to the center of the QR code?

@jjjachyty jjjachyty added the bug Something isn't working label Sep 19, 2019
@jjjachyty
Copy link
Author

i was solve embeddedImage

@lukef
Copy link
Collaborator

lukef commented Oct 30, 2019

I'll check this out but emptyColor is also deprecated in favor of just putting the qr code inside a container that has a background color.

@lukef
Copy link
Collaborator

lukef commented Nov 5, 2019

This will be fixed in the 3.0.2 release.

@lukef lukef added this to the 3.0.2 milestone Nov 5, 2019
@lukef lukef added the fixed Fixed and will be included in next release label Nov 5, 2019
@lukef
Copy link
Collaborator

lukef commented Nov 6, 2019

Next version will be 3.1.0 because I also needed to bump the Flutter version due to incompatibilities (breaking changes in Flutter).

@lukef lukef closed this as completed Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed Fixed and will be included in next release
Projects
None yet
Development

No branches or pull requests

2 participants