Flutter Installation | RRTutors

Flutter Installation steps

Flutter is supporting HybridApp development on different Os.

To set up the flutter on each individual os by this Flutter official Tutorial

 

In this section we will learn how to install Flutter SDK in Windows system.

 

Step 1: Download Flutter SDK from Official website The Latest version is 1.12

Step 2: Unzip and archive file in specific folder, like c:\flutter\

Step 3: Update the system path to include flutter bin directory

Step 4: Open terminal and move to installed directory and run


 

flutter doctor


 

flutter doctor is tool to check all requirements for the flutter is installed or not and show the details

 

The result of the above command will give you 

 

Doctor summary (to see all details, run flutter doctor -v):

[√] Flutter (Channel master, v1.14.6-pre.51, on Microsoft Windows [Version 6.3.9600], locale en-IN)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)

[√] Chrome - develop for the web

[√] Android Studio (version 3.3)

[!] Android Studio (version 3.4)

    X Flutter plugin not installed; this adds Flutter specific functionality.

    X Dart plugin not installed; this adds Dart specific functionality.

[√] Connected device (2 available)

 

! Doctor found issues in 1 category.

 

Step 5: Install Android Studio

Step 6: Check Latest Android SDK installed or not, if not install it

Step 7: Open Android studio and install Dart and Flutter Plugins for Android studio.

  •  Click File > Settings > Plugins.

  •  Select the Flutter plugin and click Install.

  •  Click Yes when prompted to install the Dart plugin.

  •  Restart Android studio

Flutter – Creating Simple Application in Android Studio

 

Now Open File -> Create new Flutter Project

create flutter first application


 

It will prompt below screen

Flutter hello world application

Select Flutter application and press Next 

 

Now it will ask below details

Flutter first application

 

  • Enter your Project Name

  • Set Flutter SDk path (It is installation path)

  • Set the Project Location

  • Press Next Button

 

Enter Domain name and Press Finish

 

Now it will create a project with auto generated code

 

Now connect real device/Emulator and run the application

 

The output will be like this

First flutter application

Read More Programming Examples
Advertisements