Flutter: Download Files from Firebase Storage [2022]

Sdílet
Vložit
  • čas přidán 1. 04. 2022
  • Download files from Firebase Storage with Flutter. List all images, videos, or other files from Firebase and download them to the gallery.
    Click here to Subscribe to Johannes Milke: czcams.com/users/JohannesMilke...
    👉 12 Week Flutter Training | heyflutter.com
    👉 Flutter Masterclass Courses | heyflutter.com/masterclass
    Source Code | github.com/JohannesMilke/fire...
    My Courses | heyflutter.com
    Follow Newsletter | johannesmilke.com/#/newsletter
    SUBSCRIBE HERE
    bit.ly/JohannesMilke
    SUPPORT & SPONSOR ME
    github.com/sponsors/JohannesM...
    SOCIAL MEDIA: Follow Us :-)
    Twitter | / heyflutter_
    Linkedin | / heyflutter
    #Flutter #Tutorial #JohannesMilke
    LIKE & SHARE & ACTIVATE THE BELL
    Thanks For Watching :-)
  • Věda a technologie

Komentáře • 67

  • @HeyFlutter
    @HeyFlutter  Před rokem

    This might help you :)
    👉 12 Week Flutter Training from Newbie to Expert: heyflutter.com
    Source Code: github.com/JohannesMilke/firebase_download

  • @YogendraPai17
    @YogendraPai17 Před 2 lety

    Thanks a lot, brother. ❣
    The firebase's addOnProgressListener method was not accessible using the newer Reference object. And this tutorial saved my day.

  • @kingofgames-mp8kx
    @kingofgames-mp8kx Před 2 lety

    Hi sir fo you suggest firebase for big projects and can you do pricing video???

  • @BiyHappy
    @BiyHappy Před 2 lety

    hellow anyone could help me on the error im getting please type NULL is not a subtype of type of String in type cast?

  • @NumaCodes
    @NumaCodes Před 2 lety

    Johannes always delivers

  • @muhammadafzal237
    @muhammadafzal237 Před 2 lety

    I want to display videos from firebase database in flutter app. How to do it?

  • @wehaacade
    @wehaacade Před 2 lety

    how can i make my mobile phone when someone else touches it to sound an alarm plz reply me bro

  • @saintdmixonlinetutorials4435

    How do i save a pdf from firebase into my phone storage directly without viewing it in the flutter app

  • @Icanox
    @Icanox Před 2 lety

    when I paste many images it's lagging and out the app

  • @bhabhayt398
    @bhabhayt398 Před 2 lety +1

    Search data from local database in implement staggered grid view

  • @twarimouritania7030
    @twarimouritania7030 Před 2 lety

    Thank you so much Please make a video by downloading a video or audio file within the application only and not on the phone Just like in CZcams videos Thank you ❤

  • @yoganathsenthilkumar498

    Where the download files will be stored?
    Storage location name please

  • @muhammadafzal237
    @muhammadafzal237 Před 2 lety

    I need a floatingActionButton above the bottomNavigationbar shape: CircularNotchedRectangle. Please guide how to do it.

    • @muhammadafzal237
      @muhammadafzal237 Před 2 lety

      @@HeyFlutter Actually I need two things togather
      1- shape: CircularNotchedRectangle
      2- icons with specific text
      When I use BottomAppBar, I can't write any text with icons.
      And when I use BottomNavigationBar then shape: CircularNotchedRectangle is not available to make a beautiful curve behind the floatingActionButton.

  • @darshann276
    @darshann276 Před 2 lety +2

    Vscode or Android studio for flutter
    I've a laptop of 8gb ram and 1tb SSD i5 10th gen and no gpu

    • @darshann276
      @darshann276 Před 2 lety +1

      @@HeyFlutter thxx Mike I'll use vsc because Android studio consumes ram

  • @satbirsahni7751
    @satbirsahni7751 Před 2 lety

    Hello, The Flutter King, Can u pl make a video on "Download files with Pause/Resume feature & with background support'. I search all web but does not get any updated video in that functionality. so i will be thankful if u can make this video.

    • @satbirsahni7751
      @satbirsahni7751 Před 2 lety

      ​@@HeyFlutter Yes I already known but i want explanation with 'Johannes Milke' style bcz i do not know the right way & many thing are unclear. So if u hv time then pl try to make video on it with 'right way'. thx

  • @elysalemhawa180
    @elysalemhawa180 Před 2 lety

    Please how to save pdf file from firebase

  • @ivanjurisic481
    @ivanjurisic481 Před rokem

    I know this question has already been posted, but where do you save pdf, docx...For some reason I can't seem to see your answers on other comments :(

    • @HeyFlutter
      @HeyFlutter  Před rokem

      Thank you, Ivan Jurišić! 🙂. Files save to the folder in the path provided.

  • @niralnaik16
    @niralnaik16 Před 2 lety

    Big fan 😜

  • @jengjack9189
    @jengjack9189 Před rokem

    Hi i have this error when running on flutter web
    Error downloading image: XMLHttpRequest error.
    thanks

    • @HeyFlutter
      @HeyFlutter  Před rokem

      Thank You @jengjack9189! Follow this link: stackoverflow.com/questions/71157863/dart-flutter-http-request-raises-xmlhttprequest-error
      I hope you will get your answer 🙂

  • @sebangel9182
    @sebangel9182 Před 2 lety

    thanks bro, Please make a video dowloading files .PDF, .Docx, or what àckage i can use for do it ? because "Gallery_saver" is just for imagen and video. PD:Sorry for my English

    • @sebangel9182
      @sebangel9182 Před 2 lety

      @@HeyFlutter Your welcome i am using your videos for do mi work in my university

  • @flutterflownapratica8499
    @flutterflownapratica8499 Před 2 lety +1

    hello, could you create this function on the flutterflow platform?

    • @HeyFlutter
      @HeyFlutter  Před 2 lety

      Thanks for the idea, Creator Store! 🙂 I have added it to my list of ideas for future videos!

    • @flutterflownapratica8499
      @flutterflownapratica8499 Před 2 lety

      @@HeyFlutter great 😁😁😁😁😁😁

    • @flutterflownapratica8499
      @flutterflownapratica8499 Před 2 lety

      @@HeyFlutter I'm Brazilian, it would be great for you to create content on this platform, there are many Brazilians interested in learning to develop on the Flutterflow platform. I hope you with your Flutter knowledge can help us.

  • @shadyhumourtv2503
    @shadyhumourtv2503 Před 8 měsíci

    Your example only works straight. What if you have sub collection? How do you refer to these items in your sub collection from code?

    • @HeyFlutter
      @HeyFlutter  Před 7 měsíci

      Thanks for the idea @shadyhumourtv2503 😀, i have added it in my list of future videos

  • @kazimkhanofficials9400

    Thank you so much ❤️.
    Sir i want to save pdf, and docx file on my local storage documents folder how it's possible kindly sir reply me as soon as possible bcz I'm working on my FYP.

    • @HeyFlutter
      @HeyFlutter  Před rokem

      Hey 😊, @kazimkhanofficials9400! Check out this package: pub.dev/packages/path_provider you can get path of local storage and then can save files there

    • @kazimkhanofficials9400
      @kazimkhanofficials9400 Před rokem

      @@HeyFlutter Sir this is the Code:
      if (url.contains('.mp4')) {
      await GallerySaver.saveVideo(path, toDcim: true);
      } else if (url.contains('.jpg')) {
      await GallerySaver.saveImage(path, toDcim: true);
      }
      Sir i want to save .pdf files and .doc file on local storage inside Documents folder.
      What changes i should made to do so.
      kindly sir help me please...

    • @kazimkhanofficials9400
      @kazimkhanofficials9400 Před rokem

      Sir kindly reply me I'm working on my FYP that i have to complete on by tomorrow.
      Please please sir @Johannes Milke

  • @hirakiran3648
    @hirakiran3648 Před rokem

    Sir tell me about the pdf file.. how we write condition for downloading PDF??

    • @HeyFlutter
      @HeyFlutter  Před rokem

      Hey, @hirakiran3648 🙂 There is nothing special about downloading pdf files, you can download them just like other file. But in case you want to download pdf file only, you can check whether your downloading url is containing .pdf extension or not.

  • @creationtechz7408
    @creationtechz7408 Před rokem

    No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp() error showing

    • @HeyFlutter
      @HeyFlutter  Před rokem

      Hey 😊, @creationtechz7408! Check out this solution: stackoverflow.com/a/63492262

  • @kazimkhanofficials9400

    Sir this is the Code:
    if (url.contains('.mp4')) {
    await GallerySaver.saveVideo(path, toDcim: true);
    } else if (url.contains('.jpg')) {
    await GallerySaver.saveImage(path, toDcim: true);
    }
    Sir i want to save .pdf files and .doc file on local storage inside Documents folder.
    What changes i should made to do so.
    kindly sir help me please...

    • @HeyFlutter
      @HeyFlutter  Před rokem

      Thank You Kazim Khan Officials! Follow this link: medium.com/kick-start-fluttering/saving-data-to-local-storage-in-flutter-e20d973d88fa
      I hope you will get your answer 🙂

    • @kazimkhanofficials9400
      @kazimkhanofficials9400 Před rokem

      ​@@HeyFlutter Sir i am not a developer i just type your code and run in my project but this storing only Mp4 and .Jpg files to gallery DCIM Folder.
      My project is to save pdf and docx files to Documents Folder inside my local storage.

    • @kazimkhanofficials9400
      @kazimkhanofficials9400 Před rokem

      What i used instead of GallerySaver.saveVideo and toDcim: true to store pdf file in local storage inside Documents folder

  • @musicon7708
    @musicon7708 Před 7 měsíci

    Sir did you have return the reference

    • @HeyFlutter
      @HeyFlutter  Před 7 měsíci

      Thank you, @musicon7708! 🙂. Please try to provide enough details with your question

  • @crypticmyst7255
    @crypticmyst7255 Před rokem

    tried your code but it's not showing anything on the screen. only the app bar is visible rest of the screen is empty.

    • @HeyFlutter
      @HeyFlutter  Před rokem

      Thank you @crypticmyst7255, make sure to follow the tutorial step by step 🙂

  • @abduallahalaa9628
    @abduallahalaa9628 Před 2 lety

    How to download a pdf file from firebase☹️

  • @akashhirusha3925
    @akashhirusha3925 Před 2 lety

    Thnk you
    Can you come with profile picture upload and update ❤️

  • @kevinmwangi5385
    @kevinmwangi5385 Před rokem

    🥳 Awesome

  • @bariskoesebas6780
    @bariskoesebas6780 Před rokem

    sehr cool

    • @HeyFlutter
      @HeyFlutter  Před rokem

      Thank you, Baris Koesebas! 🙂

    • @bariskoesebas6780
      @bariskoesebas6780 Před rokem

      @@HeyFlutter Du hast nicht zuufällig eine Idee, wie ich in Flutter darauf reagieren kann, wenn man kabellose headphones antippt?

  • @KnowledgeWorld-LetsLearn

    Can you make a instagram clone? It would be really useful

  • @pradeepg4498
    @pradeepg4498 Před 11 měsíci

    How to download file in web app

    • @HeyFlutter
      @HeyFlutter  Před 11 měsíci

      Hey, @pradeepg4498 🙂 it's similar way. Are you facing any issues? Please feel free to list them

    • @pradeepg4498
      @pradeepg4498 Před 11 měsíci

      Path_provider not support the web

    • @pradeepg4498
      @pradeepg4498 Před 11 měsíci

      And also gallary saver

  • @niralnaik16
    @niralnaik16 Před 2 lety

    ❤️❤️❤️

  • @sarathrkrishnan6610
    @sarathrkrishnan6610 Před 2 lety

    ❤️

  • @kartikpatadiya3417
    @kartikpatadiya3417 Před rokem

    fake video not working plz don't waste your time

    • @HeyFlutter
      @HeyFlutter  Před rokem

      Hey, @kartikpatadiya3417 🙂 please feel free to share what issue happened ?

  • @S-Lomar
    @S-Lomar Před 8 měsíci

    Thanks for sharing ❤️💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕

  • @optipacetechnologies7568

    How can I download mp3 files from firebase storage folder to download folder