-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
Support more data types #2
Comments
@ABausG can we send Images from dart as Home widgets? Or are we limited with Strings and Urls? |
RAW Images are not possible. I guess you could play around with converting an image to a base64 string and use that to transport the data between your app and the widget |
I was thinking of converting an UI widget to an Image and send with your plugin. Do you think the performance would be OK if I convert the Image data to a base64 string and send it this way? An example would be superb if you ever have the time. |
@aytunch why not save the file locally in Dart and sent the string path to the Java/Swift code to load the file? |
@adrianvintu if that works, I think it could be much easier and performant than converting the image to base64. I hope this solution can be embedded to this plugin. |
@aytunch this has nothing to do with the plugin, this is something you need to code. |
No description provided.
The text was updated successfully, but these errors were encountered: