How to create Flutter app in VS Code and run on Emulator

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone this is mangal and in this video i will show you how we can create a flutter application and how we can run that on an emulator or on the real device using the usb cable so let's start how you can create before creating any flutter application please check whether flutter package is installed on your machine or not if you haven't installed on your machine then please visit to this website to flutter dot dev slash docs and go to the install section here and you can choose your preferred operating system installed on your machine i have windows on my machine so i'm choosing the windows section and follow this documents which is very well maintained and it's pretty easy actually to install the flutter packages and read this section one by one and it will and you'll be absolutely fine to have it installed on your machine if you are facing any kind of problem installing the flutter packages then please do let me know in the comment section below i'll create another videos how to install flutter on any any operating system now let's jump to the vs code to create a new flutter application or project now come to vs code and go to the view section and choose command palette and choose the fast option flutter new application project it will ask you to select the folder or directory location where you would like to store all the flutter projects now i'm going to choose my directory directory where i would like to store my all applications select the folder it will i can ask you to give a project name that suits to your project i'm just giving a demo for now just any random name you can give and hit enter now the floater project are being created flutter packages will uh behind will give create a structure and rearrange everything so that the projects can be run or install on an emulator so now the flutter project is ready and it's saying connect a device and press f12 to run it for now the flutter project is ready and you can see this is the man.dart file which is the basic or default application created by the flutter packages in order to run this flutter project on an emulator on or on any device real-time device you need to select the devices from here if it is not opened in the below section new android it will only show no device click on that no device and it will show you a pop-up on this pop-up list you can choose your preferred emulator device i have already opened a device called new 6 which is already showing it here which is connected to my vs column in order to run this application on an emulator so we need to do is what just go to this run section and choose either of these two options available the first option is to debug the application if you are facing any problem and you need to debug one by one and the second is run without debugging debugging is just simply to run our application click the second option and it will start building the application and it will create a package and it will install on an emulator it will take couple of minutes or two to three minutes so we just need to wait for that to be installed on our emulator as you can see now the floater application is installed in our emulator so this is the basic floater process being created or it is a default project being created by the flutter packages itself if you see this flutter uh created man. file from starting to bottom then you can find this flutter demo home page title which appears here on the up bar of the application if we change this value it will change to the changed value just i changed it to demo just to show you demo and this is demo so it actually reloads automatically with with the saving of your file so now the flutter project is installed on on the emulator if you would like to install it on your real device then you can connect your real device on your system and it will pop up the devices available devices here then you can choose that and you can install accordingly if you face problem connecting to your real-time device then do let me know in the comment section below i'll create another video separately for that one so thank you guys for watching my videos if you liked my videos then please subscribe it like it and press the bell icon beside to the subscribe button keep coding keep enjoying and stay motivated thank you guys for watching my video once again
Info
Channel: Lima Tech
Views: 16,333
Rating: undefined out of 5
Keywords: #Flutter, #FlutterForBeginner
Id: XDddJwOHqiU
Channel Id: undefined
Length: 7min 0sec (420 seconds)
Published: Sun Feb 21 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.