The SDK to obtain
-
Download the latest Flutter installation package from the official Website, or from the Flutter project on Github.
-
Decompress the downloaded installation package
Note: Do not install Flutter to a high permission path, such as C:\Program Files\
-
Configure environment variables to add the full Path of flutter\bin to Path (e.g. D:\SDK\flutter\bin)
Run the flutter doctor
Open the command prompt and run the flutter doctor command to check whether dependencies need to be installed, for example:
If you are using Android Studio, you will be prompted to install the Flutter plugin and Dart plugin
Plug-in installation
Android Studio>File>Setting>Plugins search for Flutter and Dart to install
Support for Flutter development workflows (running, debugging, thermal reloading, etc.)
Dart plug-in: Provides code analysis (validation when entering code, code completion, and so on)
Experience the Flutter
Create an
- Select File>New Flutter Project
- Select the Flutter Application as the project type
- Enter the project name and create
run
Click the Run icon in the toolbar to run the project