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

КОМЕНТАРІ • 24

  • @johnsangpi2523
    @johnsangpi2523 Рік тому +1

    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?

    • @DevMensIT
      @DevMensIT  Рік тому

      Can you explain more i didn't get you

    • @johnsangpi2523
      @johnsangpi2523 Рік тому +1

      @@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.

    • @DevMensIT
      @DevMensIT  Рік тому

      Yeah it takes time to load image

  • @lucasfagundesvaz
    @lucasfagundesvaz 3 роки тому +1

    It helped me, thanks!

    • @DevMensIT
      @DevMensIT  2 роки тому

      Subscribe for more videos 👍

  • @ryanegbejule-jalla2103
    @ryanegbejule-jalla2103 2 роки тому +1

    Great video, but how to save image permanently on device storage?

    • @DevMensIT
      @DevMensIT  2 роки тому

      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.

    • @toggyk
      @toggyk 2 роки тому +1

      you can use sqflite or if you work online firebase would be 2nd option.

  • @botsheloramela5728
    @botsheloramela5728 3 роки тому

    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?

    • @DevMensIT
      @DevMensIT  3 роки тому +1

      Just use try catch block to handle blank selection or null selection.

    • @botsheloramela5728
      @botsheloramela5728 3 роки тому +1

      @@DevMensIT Thanks, it worked

  • @claudedaiga5897
    @claudedaiga5897 3 роки тому

    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.

    • @DevMensIT
      @DevMensIT  3 роки тому

      Yeah correct. I will make tutorial select multiple images with single time picker ☺️. Thanks

    • @andriankresnabayu8234
      @andriankresnabayu8234 3 роки тому

      @@DevMensIT how to upload this multiple image to mysql database ? thanks

    • @DevMensIT
      @DevMensIT  3 роки тому

      You can do one thing.
      Convert using base64 (it will be text) and insert into table on database.

    • @andriankresnabayu8234
      @andriankresnabayu8234 3 роки тому

      @@DevMensIT can you explain with video? Please i very need this

    • @DevMensIT
      @DevMensIT  3 роки тому

      @@andriankresnabayu8234 i can but it takes time because already working on firestore.

  • @stephenjoel
    @stephenjoel Рік тому

    Please make a video on how to add videos from gallery

    • @DevMensIT
      @DevMensIT  Рік тому

      You mean upload to cloud storage?

  • @prasadarbad3894
    @prasadarbad3894 2 роки тому

    Source code?

    • @DevMensIT
      @DevMensIT  2 роки тому +1

      Sorry. Our intention is to teach you.
      Just follow the video and you will create your own code.

    • @prasadarbad3894
      @prasadarbad3894 2 роки тому

      @@DevMensIT Yes i have used the same code but its not working it is printing the else block that is *no image selected*

    • @DevMensIT
      @DevMensIT  2 роки тому

      @@prasadarbad3894 it means your image is not getting selected