From ac6e107819e689c045ba312ff5c1a1bf4f0ddbfc Mon Sep 17 00:00:00 2001 From: Saurabh Kumar <89748411+Saurabh-kumar09@users.noreply.github.com> Date: Tue, 21 Mar 2023 12:00:39 +0530 Subject: [PATCH] create_flutter_project doc --- create_flutter_project.md | 63 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 create_flutter_project.md diff --git a/create_flutter_project.md b/create_flutter_project.md new file mode 100644 index 0000000..a487b8e --- /dev/null +++ b/create_flutter_project.md @@ -0,0 +1,63 @@ +# How to Create your Flutter project on VS Code? + +## Requirement: +Before creating project on flutter, You must have installed following: +1. Flutter (latest version) +2. Android SDK +3. JDK +4. Microsoft Visual Studio + +And all the path must be set correctly in environment variables. + +## Let's look at the ways to create flutter project: +## 1. Using cmd + * Create a folder in your pc. + * Open Cmd + * type -> flutter create app_name + * After following the above command you will get:
+ In order to run your application, type:
+ $ cd app_name
+ $ flutter run + + * After running the above command, You will get options to choose device where you want to run your app.
+ + You will see the below text:
+ Multiple devices found:
+ Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19044.2486]
+ Chrome (web) • chrome • web-javascript • Google Chrome 111.0.5563.65
+ Edge (web) • edge • web-javascript • Microsoft Edge 111.0.1661.44
+ [1]: Windows (windows)
+ [2]: Chrome (chrome)
+ [3]: Edge (edge)
+ Please choose one (To quit, press "q/Q"): + + * Once you choose any option, it will take some moment to start your app. + + ## 2. Using VS Code: + + * In VS Code, Go to View -> Command Palette. + * Search "Flutter:New Project" + * Choose a Flutter Template: "Application - Generate a flutter application with descriptive comments and texts". + * Now, choose a folder where you want to create your app. + * After that, Enter a name for your new project. + * Your new flutter app will be created. + * After following the above command you will get:
+ In order to run your application, type:
+ $ cd app_name
+ $ flutter run + + After running the above command, You will get options to choose device where you want to run your app.
+ + You will see the below text:
+ Multiple devices found:
+ Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19044.2486]
+ Chrome (web) • chrome • web-javascript • Google Chrome 111.0.5563.65
+ Edge (web) • edge • web-javascript • Microsoft Edge 111.0.1661.44
+ [1]: Windows (windows)
+ [2]: Chrome (chrome)
+ [3]: Edge (edge)
+ Please choose one (To quit, press "q/Q"): + + * Once you choose any option, it will take some moment to start your app. + +