-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add support for loading image from memory #1057
Conversation
@@ -154,6 +163,16 @@ class ImageState extends WidgetState<EnsembleImage> { | |||
return "${widget.controller.source}${str}timeStamp=$lastModifiedDateTime"; | |||
} | |||
|
|||
Widget buildMemoryImage(Uint8List source) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this work if it's png or svg?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's working fine for PNG and JPEG formats but it not working for SVG
@vinothvino42 please respond to Vu's question |
@vusters Now I added support for SVG too. Can you review it one more time? |
No description provided.