PWI Software Documentation Help

Flutter Development Setup

To start developing flutter applications, follow these steps:

Step 1: Install the Flutter SDK

  1. If you have not already done so, download and install Visual Studio Code (VS Code).

  2. Install the Flutter extension in VS Code (Settings | Extensions or CTRL+Shift+X).

  3. Visit this link to install the Flutter SDK. Follow the instructions for installing using VS Code.

Step 2: Install and Configure IntelliJ IDEA Ultimate

Although VS Code is a very popular IDE for developing Flutter apps, IntelliJ IDEA provides some small but valuable advantages over VS Code.

  1. Open Jetbrains toolbox.

  2. Find IntelliJ IDEA Ultimate in the list of programs and click the Install button next to it.

  3. Add the Flutter plugin to IntelliJ Idea Ultimate and restart your IDE.

Step 3: Test a Flutter App in IntelliJ IDEA

  1. Start creating a new Flutter App (File | New | Project...).

  2. You will be prompted to locate the Flutter SDK. You can find it in the location you chose during Step 1.

  3. Click Next.

  4. (optional) Give your project an arbitrary name.

  5. Choose Web as the only platform.

  6. Click Create.

  7. Once the project has been created, choose Chrome (web) as the build environment.

    chrome-build-env.png
  8. Click the Run button in your toolbar.

  9. If you see a functioning Flutter app, everything is working properly!

    flutter-demo-app.png
04 June 2024