How to Pick Images/Files in Flutter | Flutter Package

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome back to my channel in this tutorial i will be showing you how you can pick files from your device file storage before the tutorial starts if you like our video please do like share and subscribe our channel let's begin with creating a simple flutter app from scratch [Music] [Music] [Music] [Music] [Music] [Music] [Music] in this tutorial we will be using file picker library which you can find in pub dot dev for more details next go to installing copy the line go back to your project and look for pubspec.yml files and paste the line under dependencies [Music] [Music] [Music] [Music] [Music] now we have our simple flooded app running in the simulator [Music] [Music] next we will be creating a simple button as for the untapped function to open the file storage [Music] [Music] [Music] [Music] [Music] after the button is implemented now we can create the function to open the file system and pick a file [Music] [Music] [Music] [Music] [Music] [Music] now we add the function created into the ontap function for the container [Music] now when we click on the button in the simulator the simulator managed to open the file storage and if i pick a sample pdf as you can see in the terminal it printed out the details like the name the file extension and the most importantly is the path let's try with different files like mp4 [Music] as you can see once i pick an mp4 it managed to retrieve the data of the files and printed out on the terminal so this is how we take files from device storage and here comes to the end of the tutorial if you like our tutorial please do like share and subscribe to our channel thank you [Music] [Music] [Music] i
Info
Channel: AI with Flutter
Views: 5,493
Rating: undefined out of 5
Keywords: flutter file picker tutorial, flutter file picker example, flutter file picker not working, flutter file picker permission, flutter file picker iOS, flutter pick file, flutter file picker video, flutter pick file mp4, flutter file picker crash, how to pick file in flutter, image picker in flutter
Id: Bc5EeO-RxeA
Channel Id: undefined
Length: 8min 56sec (536 seconds)
Published: Mon Jun 20 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.