deakjahn / flutter_dropzone

A drag-and-drop Flutter plugin (Web). Only web and only from outside into Flutter.
https://pub.dev/packages/flutter_dropzone
85 stars 36 forks source link

Display url image from createFileUrl? #56

Closed naveenbharadwaj19 closed 2 years ago

naveenbharadwaj19 commented 2 years ago

Hello, How to display image from the createFileUrl? I'm getting a url something like this blob:http://localhost:63524/dc2ffda9-560b-450c-a38a-25a17ba37ad4 .I'm trying to display that url in networkimage. And what will releaseFileUrldo and when to use it?

deakjahn commented 2 years ago

It's about the same kind of URL that you use to display an image from the web. So, you can use Image.network() or one of the many image loader packages (I had experience with octo_image but there are quite afew like it). You release the URL when you're done with the image. Maybe when you leave the page where it's displayed?

naveenbharadwaj19 commented 2 years ago

Thanks i was releasing the url right after creating it that's why i couldn't able to display it