Follow these simple steps to generate a starter boilerplate/tample to start a Flutter project using VS Code.
I will be using a Windows 10 with Visual Studio
You can create an app using the terminal command line:
$ flutter create myapp
$ cd myapp
To start your app from localhost
in Chrome, use the following from the top of the package:
$ flutter run -d chrome
To build the app:
$ flutter build web
The OUTPUT may look somehting like this:
All done!
In order to run your application, type: $ cd myapp
$ flutter run
To enable null safety, type: $ cd myapp
$ dart migrate --apply-changes
Your application code is in myapp\lib\main.dart.