Flutter Framework environment setup

Flutter Framework environment setup

Step 1: Install Flutter SDK

Head over to the Flutter website and download the latest stable release for your operating system.

Step 2: Extract the Flutter SDK

Right-click on the downloaded file and select “Extract All”.

In the “Extract Files” window, choose a location where you want to extract the Flutter SDK. For example, you can extract it to C:\Users\<your_username>\flutter.

Click the “Extract” button.

Step 3: Update your path

Open the Start menu and search for “Edit environment variables for your account”.

Click on “Edit environment variables for your account”.

In the “Environment Variables” window, select the “User variables” tab.

Under “User variables”, scroll down to find the “Path” variable and click on “Edit”.

Click on “New” and add the path to the Flutter SDK’s bin directory. For example, if you extracted the Flutter SDK to C:\Users\<your_username>\flutter, you would add the following path:

C:\Users\<your_username>\flutter\bin

Click “OK” to save your changes.

Step 4: Verify the installation

  1. Open a command prompt window.

  2. Type the following command and press Enter:

flutter doctor

The flutter doctor command will check your system for any missing dependencies or issues with your Flutter installation.

Additional notes

  • If you are using Visual Studio Code, you can install the Dart and Flutter extensions to make it easier to develop Flutter apps.

  • If you are developing for Dart, you will need to install the Dart SDK.