-
Notifications
You must be signed in to change notification settings - Fork 138
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
cannot render widget with image inside #103
Comments
same here for Flutter Web - Android works for me i use --web-renderer canvaskit and i also tried --dart-define=BROWSER_IMAGE_DECODING_ENABLED=false |
Same here. --dart-define=BROWSER_IMAGE_DECODING_ENABLED=false work on desktop chrome but on mobile safari it doesn't work. |
Can we get info for debugging. Can you add result of |
@ritheshSalyan I can give.
|
same here, for me android and ios both work fine, on web it just render an empty place for the images. |
Based on my testing, this is related to the Flutter engine itself, not this particular package, so you might have better luck reporting this on the Flutter GitHub. |
hi @Surio89 did you find any workaround for this? I'm facing the exact same issue for flutter web 😓 |
Any plans on how to solve this? |
This Issue is related to CanvasKit Current Walkaround is adding option Please Note: This will work only in
|
Update from my side - we do have the problen on macOS. |
By the way, there's a dumb workaround - I detected that it's not working for the first time when the application was started => take widget photo => blank. The second photo was always working. So just take the photo twice... then its working |
im facing this issue too
this works to test, but when i build to share with users on my host/server this not work and the images dont appear on screenshor |
yeah im having the same issue. it wont capture the image inside the image you are taking a screenshot of |
Just like @jdde said, capturing the widget multiple times seem to help get the image more consistently.
|
images inside widgets are ignored when snapshotting the widget
The text was updated successfully, but these errors were encountered: