Flutter Camera App with QR Scanner, Videos, Focusing and Zoom features [Part - 1]

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
foreign [Music] welcome to my channel and today in this tutorial we are going to build a camera app that can click photos videos and we have zoom in and zoom out feature and we can also focus on different object based on the location of the object and we can enable Flash on and off and we can shoot photos you can also change our camera from Main to secondary and let's click a photo and our photo is showing in the bottom left corner we have QR scanner we can scan a QR code without scanner it will take us to a new link based on the QR code so our new link is showing it send us to the Facebook page so now let's try to create this app so I am going to create a empty project and I'm going to name this camera app and let's change our organization and we don't need Linux Mac OS web and windows we only need Android and iOS so I'm going to create this project so we can run this project and while running the project we can change our Android manifest file we can add some permissions here which I will put in the description as well and then now build.gradle in our bin app build.gradle we can change the minimum SDK version to 21 and in our info dot P list for iOS so iOS Runner info Dot plist I am going to add these strings which I will also put in the description of this video and now we can add some dependencies which I will put in the description as well so let's hit pop kid thank you and let's try to run it again so our app successfully restarted and now in our lip folder we have main.dart I'm going to uh hide this so in our main dot dot we are going to delete this my home page and my home page state and I'm going to make this future so future void and I am going to make it asynchronous function and I am going to add widgets flutterbinding Dot and share initialized and then I am going to add a list here of camera this script of cameras so camera description cameras equals to this empty and now cameras equals to avoid available cameras and now we can remove this debug Banner so I'm going to make it false and now I am going to add a new directory and all these screens and I'm going to add a new dart file called photo screen so you know here we can add material.tart and let's add this to dependencies as well path and path provider so Step full widget photo screen and in our main dot dot I am going to call this photo screen and now here we can instead of this key we can write final list camera description cameras let's import camera dot dot this dependency and here we can write photo screen this DOT cameras and now in our main dot chart we can pass these cameras and here we are going to add a controller so for that we are going to write camera controller controller and let's add late and now initialize this controller so for that I am going to add I need state in its state controller equals to camera controller widget DOT cameras is 0 for our primary camera and resolution preset we are going to set it to Max and now controller dot initialize dot then if not mounted then return and set state and now here we can return scaffold and here we can add body of Stack children position dot fill camera preview and we're going to pass this controller now let's check solid controller has not been initialized let's add this pose so this pose controller dot disperse we are running our project again it's asking for permission allow to record audio and video and now we can see our camera so now let's add our features one by one so I'm going to add at first let's add
Info
Channel: EGON CASTLE
Views: 7,740
Rating: undefined out of 5
Keywords: Flutter camera app, Mobile app development, Flutter tutorial, Flutter app development, Camera app tutorial, YouTube app development, Flutter camera tutorial, App development tutorial, Flutter video recording app, Mobile app tutorial, Flutter app tutorial, Flutter camera features, Flutter app coding, Mobile development tips, Flutter app examples, App development guide, Flutter video capture, Camera app UI design, Flutter camera permissions, Flutter app debugging
Id: 7DBQi_t2Yhk
Channel Id: undefined
Length: 11min 1sec (661 seconds)
Published: Sat Jun 10 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.