Starter Guide
Last updated
Was this helpful?
Last updated
Was this helpful?
Flutter is Google’s UI toolkit for building beautiful, natively compiled applications for , , and from a single codebase. It is very easy to learn and currently it is getting more and more popular. With this blog post, you will learn some basic stuff about Flutter and after reading it, you will be able to create a simple application using this technology.
to check out more details about flutter.
Setup an editor:
Prerequisite
Flutter & Dart
Anyone IDE (Recommended), or
To edit this project you must have Flutter and Dart installed and configured successfully on your computer.
Set up your editor - Install the .
If you have got Android SDK installed and configured, to install Flutter you only need to:
Download Flutter SDK from official website and extract it.
Add path to previously extracted SDK to your PATH variable
Run flutter doctor tool to check if everything is configured correctly.
All above steps are mentioned here:
Step 1 : Get the Flutter SDK
1 Download the following installation bundle to get the latest stable release of the Flutter SDK:
2 Extract the zip file and place the contained flutter in the desired installation location for the Flutter SDK (for example, C:\src\flutter; do not install Flutter in a directory like C:\Program Files\ that requires elevated privileges).
Step 2 : Update your path
If you wish to run Flutter commands in the regular Windows console, take these steps to add Flutter to the PATH environment variable: From the Start search bar, enter ‘env’ and select Edit environment variables for your account. Under User variables check if there is an entry called Path:
If the entry exists, append the full path to flutter\bin using ; as a separator from existing values.
If the entry doesn’t exist, create a new user variable named Path with the full path to flutter\bin as its value.
You are now ready to run Flutter commands in the Flutter Console!
Step 3 : Run flutter doctor
From a console window that has the Flutter directory in the path (see above), run the following command to see if there are any platform dependencies you need to complete the setup:
Step 1 : Get the Flutter SDK
Download the following installation bundle to get the latest stable release of the Flutter SDK:
Download SDK and extract downloaded file, just double click on that. and just copy extracted folder and paste it to your desired location (for example, Documents\flutter).
Step 2 : Update your path
Path variable needs to be updated to access “flutter” command from terminal. you can just update path variable for current terminal window only. and if you want to access flutter commands from anywhere in terminal, we need to update SDK path permanently.
To update PATH variable, we need to open terminal.
To update PATH variable for current terminal window only, then enter this command "export PATH="$PATH:`pwd`/flutter/bin"" and hit enter key.
To update PATH variable permanently, then Open or create .bash_profile file. to open or create that file, then enter "sudo open -e $HOME/.bash_profile" and hit enter key. Append below line to bash_profile file at bottom of all other content. "export PATH="$PATH:[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin"" as [PATH_TO_FLUTTER_GIT_DIRECTORY] is actual path of SDK folder.
Run this command on terminal "source $HOME/.bash_profile" to refresh PATH variables.
Then check whether our SDK is successfully installed or not.
You are now ready to run Flutter commands in the Flutter Console!
Run "flutter doctor" into terminal, If you are getting check list of flutter sdk requirements, it means SDK is successfully installed on your machine. and you can start building flutter apps on your machine.
Step 1 : Get the Flutter SDK
Download the following installation bundle to get the latest stable release of the Flutter SDK:
Download SDK and extract downloaded file, just double click on that. and just copy extracted folder and paste it to your desired location (for example, Documents\flutter).
Step 2 : Update your path
Path variable needs to be updated to access “flutter” command from terminal. you can just update path variable for current terminal window only. and if you want to access flutter commands from anywhere in terminal, we need to update SDK path permanently.
You’ll probably
want to update this variable permanently, so you can run flutter commands in any terminal session. To update PATH variable, we need to open terminal.
Run source $HOME/.
to refresh the current window, or open a new terminal window to automatically source the file.
Verify that the flutter/bin
directory is now in your PATH by running:
Verify that the flutter
command is available by running:
Download Android Studio -
Get the Flutter SDK -
Learn more about Android Studio -
If you find any issue during environment setup, please go online
Download Android Studio -
Download Xcode -
Get the Flutter SDK -
Learn more about Android Studio -
If you find any issue during environment setup in macos, please go online
Download Android Studio -
Get the Flutter SDK -
Learn more about Android Studio -