Flutter CLI : tool to create project with visual staid ,code analyze, test, and run an app

Опубликовано: 29 Сентябрь 2024
на канале: Block of code
40
1

So in this page you are going to learn how to create a new flutter project via terminal on your desktop

Steps :
first thing you have to create project folder on desktop .
open visual studio code and open project folder .

Open terminal window .
Now you have to add all of these step in terminal one time :
Please copy and past next CLI :

flutter create “Type your project name”
cd “Type your project name”
flutter analyze
flutter test
flutter run lib/main.dart


Also you can use next line as command line , just you have to copy and past in terminal window

flutter create new_application && cd new_application && flutter analyze && flutter test & flutter run lib/main.dart