Pre-Requisite for Flutter development
Software requirements
- Flutter
- Dart
- Android Studio (For Android)
- XCode (For iOS)
You can also run the projects through the terminal or command line; however, for better debugging, consider using Android Studio or XCode. This document considers the use of Android Studio for building and running applications.
Flutter & Dart Installation
You can follow Flutter official documentation to be able to install Flutter Software Development Kit and Dart Programming Language.
Android Studio
Install the Android Studio, please follow the installation steps mentioned here Install Android Studio.
Add the Dart language plugins and Flutter extensions to Android Studio. Please follow below operating system specific installation instructions.
- For macOS, use the following instructions:
- Start Android Studio
- Open plugin preferences (Preferences >` Plugins as of v3.6.3.0 or later)
- Select the Flutter plugin and click Install
- Click Yes when prompted to install the Dart plugin
- Click Restart when prompted
- For Linux or Windows, use the following instructions:
- Start Android Studio
- Open Plugins
- Select Marketplace, select the Flutter plugin and click Install
- Click Yes when prompted to install the Dart plugin
- Click Restart when prompted
Verify Installation
To verify the Flutter installation, please create and sample an app and build it by following the instructions provided here Create a Flutter project.