Why Flutter ?
If you’re and Android developer, then you may have heard of Flutter.
It’s totally new and simple framework designed for making cross-platform for native apps.it’s being used by Google.
Let’s start all step of the “Install Flutter in android studio”
Get the Flutter SDK
- Click here, to get the latest beta release of the Flutter SDK
- Extract the zip-file and place the contained flutter in the desired installation location for the Flutter SDK (eg. C:\src\flutter; do not install flutter in a directory like C:\Program Files\ that requires elevated privileges).
- Locate the file flutter_console.bat inside the flutter directory. Start it by double-clicking.
- If you want to update your flutter SDK, type the following command “flutter upgrade” on flutter cmd.
- Go to “Control Panel > User Accounts > User Accounts > Change my environment variables”
- Under “User variables” check if there is an entry called “Path”:
- If the entry does exist, append the full path to flutter\bin using ; as a separator from existing values.
- If the entry does not exist, create a new user variable named Path with the full path to flutter\bin as its value.
Run flutter doctor
- If you not install android studio then click here , for installation guide.
- If you have Android studio then follow “Install the Flutter and Dart plugins” topic given as below,
Install the Flutter and Dart plugins
- Start Android Studio.
- Open plugin preferences (Preferences>Plugins on macOS, File>Settings>Plugins on Windows & Linux).
- Select Browse repositories…, select the Flutter plug-in and click install.
- Click Yes when prompted to install the Dart plugin.
- Click Restart when prompted.
Create First Flutter app
- Select File > New Flutter Project
- Select Flutter application as the project type, and press Next
- Enter a project name (e.g. myapp), and press Next
- Click Finish
- Wait for Android Studio to install the SDK, and create the project.