Multiple Image Picker - Flutter Package
Вставка
- Опубліковано 20 жов 2024
- Select Multiple Images and store inside List.
A Flutter plugin for iOS and Android for picking images from the image library, and taking new pictures with the camera.
------------------------------------------------------------------------------------------------------
Package Link : pub.dev/packag...
-----------------------------------------------------------------------------------------------------
For More Support : Comment down below
For More Update : Subscribe my channel
After selecting images, the delete button is displaying first, and then the selected image, I want to display both at the same time for better UI. any solutions pls?
Can you explain more i didn't get you
@@DevMensIT we wrap delete button and image inside Stack widget. After we have selected the image, the delete button immediately displays while the selected image is loading to display.
Yeah it takes time to load image
It helped me, thanks!
Subscribe for more videos 👍
Great video, but how to save image permanently on device storage?
As we know this will save on cached folder of our app.
Now for permanent save you have to move that to another path (like DCIM folder) from cached path.
you can use sqflite or if you work online firebase would be 2nd option.
Hi bro, great tutorial... When clicking the "imageSelect()" button it takes you to the file system or gallery app, though when you go back without selecting an image the app crashes. On the if statement "selectedImages!.isNotEmpty" an error is given of "_CastError (Null check operator used on a null value)"... How can we fix this?
Just use try catch block to handle blank selection or null selection.
@@DevMensIT Thanks, it worked
Nice tutorial. For a greater UX wi would be better to have a multiple image picker at one shut, here if you have to pick 15 images you would have to press the pick button 15 times.
Yeah correct. I will make tutorial select multiple images with single time picker ☺️. Thanks
@@DevMensIT how to upload this multiple image to mysql database ? thanks
You can do one thing.
Convert using base64 (it will be text) and insert into table on database.
@@DevMensIT can you explain with video? Please i very need this
@@andriankresnabayu8234 i can but it takes time because already working on firestore.
Please make a video on how to add videos from gallery
You mean upload to cloud storage?
Source code?
Sorry. Our intention is to teach you.
Just follow the video and you will create your own code.
@@DevMensIT Yes i have used the same code but its not working it is printing the else block that is *no image selected*
@@prasadarbad3894 it means your image is not getting selected