Gettings Started
Flutter Installation

Flutter Installation and Setup

Flutter is an open-source mobile application development framework created by Google. It allows developers to build beautiful, high-performance, and natively compiled applications for mobile, web, and desktop from a single codebase.

Prerequisites

Before you begin, ensure that you have the following prerequisites installed:

  • Operating system: Flutter can be installed on Windows, macOS, and Linux. Ensure that your operating system meets the minimum requirements.
  • Disk space: Ensure that your disk has enough space to install Flutter and all its dependencies.
  • Development tools: Install a suitable development tool for your operating system, such as Android Studio or Visual Studio Code.

Installing Flutter

To install Flutter, follow these steps:

  1. Download the Flutter SDK from the official website (opens in a new tab).



  2. Extract the downloaded ZIP file to a suitable location on your local machine.

  3. Add the Flutter bin directory to your system PATH. This step enables you to run Flutter commands in the terminal.

    • macOS and Linux: Open your terminal and execute the following command:

      export PATH="$PATH:`pwd`/flutter/bin"
    • Windows: Open the Environment Variables dialog box, and add the path to the Flutter bin directory to the Path system variable.

  4. To verify that Flutter is correctly installed, run the following command in your terminal:

    flutter doctor

    This command checks your system for any necessary dependencies and provides feedback on your Flutter installation status.


    If you see something close to this where most the steps are checked out. Then you can continue.

    If you had any problem with Flutter Installation, contact us at dzedapps@gmail.com

    Recommended Youtube Video Guide for Flutter Installation: Video Guide (opens in a new tab)

Configuring Flutter

Once you have installed Flutter, you need to configure it to work with your development tools and devices.

Development Tools Integration

To integrate Flutter with your development tools, follow these steps:

  1. Install the Flutter and Dart plugins for your chosen development tool.

    • Android Studio: Open the Preferences dialog box, select Plugins, and search for Flutter. Install the Flutter and Dart plugins.


    • Visual Studio Code: Open the Extensions sidebar, search for Flutter, and install the Flutter and Dart extensions.




  2. Restart your development tool to apply the changes.

Device Setup

To set up your device for Flutter development, follow these steps:

  1. Connect your device to your computer using a USB cable.

  2. Enable Developer mode on your device by following the instructions for your specific device and operating system.

  3. Enable USB debugging on your device by following the instructions for your specific device and operating system.

  4. Run the following command to ensure that your device is connected and recognized by Flutter:

    flutter devices

    This command lists all the connected devices that Flutter recognizes. (Real devices or Simulators)



we covered the steps to install and set up Flutter on your local machine. We also discussed how to configure Flutter to work with your development tools and devices.