How-To Implement Multi-Upload and Multi-Object Creation in Flutterflow

Поділитися
Вставка
  • Опубліковано 7 сер 2023
  • Create an upload input to allow the user to mass upload images. Use a custom function and a loop to iterate through the list of uploaded images and page states to keep track of the index.
    **You don't need a custom function for this. You can just use the condition "index is less than number of images" for the loop.

КОМЕНТАРІ • 38

  • @fernandomendes1177
    @fernandomendes1177 8 місяців тому

    Your video came so handy and in the right time for me!!! Thank you very much for sharing your smart approach!! Keep doing more videos!!! You got one more follower 🙏🏻

  • @amirzabirov
    @amirzabirov 5 місяців тому

    Thanks for the video! This was very helpful!

  • @asletic
    @asletic 5 місяців тому

    super great tutorial and idea! thanks

  • @sushantkumarrajoriya
    @sushantkumarrajoriya 6 місяців тому

    Your solution saved me a lot of time and frustration I was looking for a way to achieve this, thanks

  • @user-ut9fb6cl5q
    @user-ut9fb6cl5q 8 місяців тому

    very nicely done!! great video!

  • @happyboss555
    @happyboss555 4 місяці тому

    Hi Aanya I like your tutorial very detailed and beginner-friendly. Could you make another one on how we can delete each of these photos? Thank you so much.

  • @IspyrGameDev
    @IspyrGameDev 8 місяців тому

    This is perfect Aanya! THank you, was searching for a way to accomplish this with my limited Dart knowledge. Time to update my album feature :D CHeers!

    • @originalstrokes
      @originalstrokes  8 місяців тому

      Glad it helped!!!

    • @IspyrGameDev
      @IspyrGameDev 6 місяців тому

      Aanya I finally got to this and you're a wiz and a gem for posting this up. Worked beautifully! And I learnt a few things along the way with Custom Functions as I dread them, but you gave me some hope :) Thank you!

  • @andeoyebrayan8189
    @andeoyebrayan8189 10 місяців тому +1

    wow i love this tutorial it has helped me alot thanks hope you will continue to make more flutterflow tutorials. if you could make one for bus ticket booking app

    • @originalstrokes
      @originalstrokes  10 місяців тому +1

      I’m glad it was helpful! I’ll look into the Bus Ticket Booking App!

    • @andeoyebrayan8189
      @andeoyebrayan8189 10 місяців тому

      thanks@@originalstrokes

    • @originalstrokes
      @originalstrokes  10 місяців тому +1

      @@andeoyebrayan8189 Of course!

  • @rolandobencosme3551
    @rolandobencosme3551 9 місяців тому

    thanks for this tutorial! Do you have a way of uploading a picture one by one from the camera and uploading to firebase? I notice the option disappears with camera upload.

    • @originalstrokes
      @originalstrokes  9 місяців тому

      Glad it was helpful! I don’t currently have a tutorial on that but I’ll look into it!

  • @stuartdrogbadunkno
    @stuartdrogbadunkno 5 місяців тому

    This is a super helpful video Aanya, thank you!
    I tried following this but got stuck around 1m 22, when i tried to repeat the steps on my end, I try and set the Auth value to "User reference" but then I have to select "available" options from a dropdown. But the only option is "Document ID" which is red and unselectable :( any ideas?
    Thanks so much,
    Stuart

    • @amritbanerjee
      @amritbanerjee 2 місяці тому

      You need to query the database in the page scaffold first so the page gets the context.

  • @amritbanerjee
    @amritbanerjee 2 місяці тому

    You don’t really need a custom function or action for this. You can straight away in the loop action 1 check if index is greater than number of items in the list. Everything else is just perfect 👌

    • @originalstrokes
      @originalstrokes  2 місяці тому

      Switching between coding and no code is tough. Great point and I’ve added this to the description of the video. Thank you!

    • @amritbanerjee
      @amritbanerjee 2 місяці тому

      The learning I got from the video was awesome. Using the loop and index is the trick we can leverage basically in any action. Kudos to you for teaching me that 🙂

  • @aliumut33
    @aliumut33 8 місяців тому +1

    why do you need to use a function? you can just use a single condition " index is less than number of list of images" for the loop?

    • @originalstrokes
      @originalstrokes  8 місяців тому +1

      Good catch! I just edited the description to mention this!

    • @mckaysmith679
      @mckaysmith679 8 місяців тому

      So for the new guy, how do I set this condition?@@originalstrokes

    • @originalstrokes
      @originalstrokes  7 місяців тому +2

      @@mckaysmith679Instead of writing a whole custom function, choose “code expression”. Then make two arguments, index and listItems, and make both of them integers. Set index to the custom state and listItems to the count of uploaded items. Then make the return type boolean. Just type in “return index

  • @utu147
    @utu147 24 дні тому

    This is a good solution. However, my concern is that it will create many documents for each image in Firebase, significantly increasing the number of reads per user, especially if you have thousands or hundreds of thousands of users. Wouldn't it be better to store a list of images under the users' collection instead of having a separate collection for images?

    • @originalstrokes
      @originalstrokes  22 дні тому

      With this implementation it is easier for multiple users to access the same set of images (think about a soccer team or class that wants to access shared images). Regardless of the database structure, the overall idea is the same and I encourage you to tweak it to fit your app specifications!

  • @cruiseyournews
    @cruiseyournews 8 місяців тому

    Is this possible with videos?

    • @originalstrokes
      @originalstrokes  8 місяців тому

      I think so but I’ll check it out and get back to you on that.

  • @nehakumarimandal5339
    @nehakumarimandal5339 4 місяці тому

    It's not working from my end. Even there's no option like "update widget state" only update page state is available 9:59
    The screen is just loading while trying to run/test

    • @arturkern9320
      @arturkern9320 Місяць тому

      did you find any solution for that problem? doesnt work for me also @Aanya Shah

    • @M1ndProductions
      @M1ndProductions 17 днів тому

      Any news to this?

  • @dmitryanikin2952
    @dmitryanikin2952 7 місяців тому

    Aanya, thank you for your tutorials!
    Check the time 5:02 and 5 seconds further (ua-cam.com/video/RRH68KhM-Ho/v-deo.html).
    It is tutorial for the FlutterFlow, but you mentioned "Bubble". :-)
    It's hard to play two different instruments at the same time, isn't it?

    • @originalstrokes
      @originalstrokes  7 місяців тому

      Good catch! In my head I have to keep switching back and forth! I edited this whole video and still didn’t realize I said Bubble instead of Flutterflow. 😂😂