How to Install Flutter on Windows: Fast & Easy Setup for Mobile Development
Step 1: Download and Install Flutter SDK
- Download Flutter SDK
- Download the latest version of Flutter from the official website.
- Extract the ZIP File: Extract the downloaded ZIP file to
C:\src
directory. - Set Up Path:
- Add the
Flutter\bin
folder to your system's PATH. - Search "Environment Variables" in the Windows search bar and open the system environment settings.
- Select the Path variable and edit it. Add a new line and enter
C:\src\flutter\bin
.
- Add the
Step 2: Install Required Dependencies
- Install Git: Download Git
- Install Git as it is required for Flutter SDK updates.
- Install Android Studio: Download Android Studio
- Download and install Android Studio.
- To add Flutter and Dart plugins: Go to
File > Settings > Plugins
, search for “Flutter” and “Dart” plugins, and install them. - SDK Manager: Download and install Android SDK and other necessary tools from the SDK Manager.
Step 3: Install Visual Studio Code (VS Code)
- Download Visual Studio Code
- Download and install VS Code.
- Install Flutter Plugin: In VS Code, go to the Extensions tab and search for Flutter and Dart plugins to install them.
- Verify Path Settings: Run the command
flutter doctor
in the command line to verify that Flutter SDK is installed correctly.
Step 4: Enable Flutter Web
To enable Flutter SDK for web applications, enter the following commands in the command line:
flutter channel stable flutter upgrade flutter config --enable-web
You can now run your projects on the web platform.
Step 5: Set Up and Test Emulator
- Android Emulator: In Android Studio, open
AVD Manager
and create a new virtual device. - Run
flutter devices
to list available devices, then useflutter run
to start the project on the emulator.
Alternative Emulator: Genymotion
- Download Genymotion
- Genymotion can be used as an alternative to Android Emulator.
- After installing Genymotion, create a virtual device and run
flutter devices
to recognize the device.
Useful Links
1969:
— I Am Devloper (@iamdevloper) November 3, 2017
-what're you doing with that 2KB of RAM?
-sending people to the moon
2017:
-what're you doing with that 1.5GB of RAM?
-running Slack
Video Example
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.