-
Notifications
You must be signed in to change notification settings - Fork 325
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
The argument type 'Image' can't be assigned to the parameter type 'Image?'. #181
Comments
Use AssetImage or NetworkImage. |
Already tried, they give the same error. |
Show your code when using my above suggestion. |
I know I have to enter image URL in NetworkImage, I just did for testing and to show you. |
Oh you're using QrPainter, not QrImageView. Is that intentional? |
QrPainter expects a type of Image from dart:ui, not flutter/widgets. |
Yes, I need an Embedded image when exporting the QR Code.
So, what should I do to give it an Embedded image when exporting the QR ? |
@lukef Can you convert this issue to discussion?
|
@itss-sid I just had the same problem and found the solution in the example of this package.
|
this should be done under the hood 😖 |
I am trying to export a QR code with an embedded image but I am not able to do that because it doesn't accept any type of image. I have tried literally every type of image possible still it just won't accept. What does it want?
Error:
My Code:
The text was updated successfully, but these errors were encountered: