How To Install Flutter On Windows
Flutter Installation
In this section, we are going to acquire how to set an environment for the successful evolution of the Palpitate application.
System requirements for Windows
To install and run Palpitate on the Windows organization, yous need kickoff to meet these requirements for your development environment.
| Operating System | Windows vii or Later (I am Windows 10. You can also use Mac or Linux OS.). |
| Disk Space | 400 MB (It does not include deejay space for IDE/tools). |
| Tools | 1. Windows PowerShell 2. Git for Windows 2.x (Here, Use Git from Windows Command Prompt option). |
| SDK | Flutter SDK for Windows |
| IDE | Android Studio (Official) |
Install Git
Stride one: To download Git, click here.
Step 2: Run the .exe file to complete the installation. During installation, make sure that you have selected the recommended choice.
To read more information about installing Git, click here.
Install the Flutter SDK
Stride 1: Download the installation bundle of the Flutter Software Development Kit for windows. To download Palpitate SDK, Go to its official website, click on Become started button, you will get the post-obit screen.
Step 2: Next, to download the latest Flutter SDK, click on the Windows icon. Here, you lot will find the download link for SDK.
Step three: When your download is complete, extract the zippo file and place it in the desired installation folder or location, for instance, D: /Flutter.
Note: The Flutter SDK should not be placed where the administrator's permission is required.
Step 4: To run the Flutter control in regular windows console, yous need to update the system path to include the palpitate bin directory. The following steps are required to do this:
Step iv.1: Go to MyComputer properties -> advanced tab -> surroundings variables. You will become the post-obit screen.
Step 4.2: At present, select path -> click on edit. The following screen appears.
Stride 4.3: In the above window, click on New->write path of Flutter bin binder in variable value -> ok -> ok -> ok.
Step 5: At present, run the $ flutter physician control. This control checks for all the requirements of Palpitate app development and displays a report of the status of your Flutter installation.
Pace half-dozen: When y'all run the above command, it volition analyze the system and show its report, equally shown in the below image. Here, yous will find the details of all missing tools, which required to run Flutter also as the development tools that are available only not connected with the device.
Step vii: Install the Android SDK. If the palpitate doctor command does not detect the Android SDK tool in your arrangement, so yous need start to install the Android Studio IDE. To install Android Studio IDE, do the post-obit steps.
Step seven.one: Download the latest Android Studio executable or zip file from the official site.
Step vii.2: When the download is complete, open the .exe file and run it. Y'all will go the post-obit dialog box.
Stride seven.3: Follow the steps of the installation wizard. Once the installation magician completes, y'all will get the following screen.
Step seven.4: In the higher up screen, click Next-> Finish. Once the Finish button is clicked, you demand to cull the 'Don't import Settings pick' and click OK. It will start the Android Studio.
Annotation:> Meanwhile, the installation sorcerer also includes downloading Android SDK components that are required by Palpitate for development.
Step 8: Next, you demand to set up an Android emulator. Information technology is responsible for running and testing the Flutter application.
Step 8.1: To prepare an Android emulator, become to Android Studio > Tools > Android > AVD Director and select Create Virtual Device. Or, become to Help->Find Action->Blazon Emulator in the search box. You volition get the following screen.
Step viii.two: Choose your device definition and click on Next.
Footstep 8.three: Select the arrangement prototype for the latest Android version and click on Next.
Step eight.four: Now, verify the all AVD configuration. If it is correct, click on Terminate. The following screen appears.
Step 8.5: Last, click on the icon pointed into the red colour rectangle. The Android emulator displayed as below screen.
Step ix: At present, install Flutter and Dart plugin for building Flutter application in Android Studio. These plugins provide a template to create a Flutter application, give an option to run and debug Palpitate awarding in the Android Studio itself. Do the following steps to install these plugins.
Step ix.1: Open the Android Studio and so go to File->Settings->Plugins.
Step ix.2: Now, search the Palpitate plugin. If found, select Flutter plugin and click install. When you click on install, it will ask you to install Dart plugin as below screen. Click aye to proceed.
Stride 9.3: Restart the Android Studio.
Arrangement Requirements for macOS
To install and run Flutter on macOS system, you lot need first to meet these requirements for your development surroundings.
| Operating System | macOS (64-bit) |
| Deejay Space | 2.viii GB (It does not include disk infinite for IDE/tools). |
| Tools | bash coil git 2.x mkdir rm unzip which |
| IDE | Xcode (Official) |
Go the Palpitate SDK
Pace 1: Download the installation bundle of the Palpitate Software Development Kit for macOS. To download Flutter SDK, Go to its official website.
Footstep ii: When your download is consummate, excerpt the zip file and identify information technology in the desired installation binder or location.
Pace 3: To run the Flutter command, yous demand to update the organization path to include the flutter bin directory.
Step 4: Next, enable the updated path in the current terminal window using the below control and then verify it as well.
Stride 5: Now, run the $ palpitate doctor command. This command checks for all the requirements of Palpitate app development and displays a report of the status of your Flutter installation.
Step 6: When yous run the above control, it will analyze the system and the details of all missing tools, which required to run Flutter likewise as the evolution tools that are available just not connected with the device.
Step vii: Install the latest Xcode tools if reported by the Flutter medico tool.
Pace 8: Install the latest Android Studio and SDK, if reported by the Flutter doctor tool.
Step 9: Next, yous demand to set up an iOS simulator or connect an iPhone device to the organization for developing an iOS application.
Stride 10: Again, prepare up an android emulator or connect an android device to the organization for developing an android awarding.
Step 11: Now, install Flutter and Sprint plugin for building Flutter application in Android Studio. These plugins provide a template to create a Flutter application, requite an selection to run and debug Flutter application in the Android Studio itself.
Source: https://www.javatpoint.com/flutter-installation
Posted by: livingstondowinesed.blogspot.com

0 Response to "How To Install Flutter On Windows"
Post a Comment