So in this video you will learn about to make a fresh flutter project and run it on your android/ios devices
let me explain the step by step:
(in this tutorial i’m going to explain the Windows step using Visual Studio Code)
- make sure that you’ve downloaded Flutter SDK
- after downloaded the SDK, put them somewhere
- then open …/Flutter/bin/ and copy these directory
- open control panel>system>advanced system setting>environment variables then look at the path, add new path and paste the copied directory earlier there
- open Visual Studio Code (you can use Android Studio or IntelliJ)
- click on extensions, download Flutter extensions then restart the VSCode
- then do CTRL+SHIFT+P
- click on Flutter new Project, and then type the project name
- wait for the setup
- then plug your phone and enable the USB Debugging (click here to see how)
- then press F5 on your VS Code to run the app
- the Main class is generated at /[project_name]/lib/main.dart
- press R to hot reload and SHIFT+R to hot restart and Q to quit the debug
- that’s it!
Yeah! That’s it! It’s easy right? If you need more reference to learn the Flutter, then i’d like to recommend you to open the documentations pages! because there is a lot of useful information when you read the documentations. well, That’s it!
Happy learning!
Recent Comments