Skip to content

Instantly share code, notes, and snippets.

@vijaydeepak-tt
Last active April 29, 2018 05:53
Show Gist options
  • Save vijaydeepak-tt/3f62827014030dff39453a4584d1afa0 to your computer and use it in GitHub Desktop.
Save vijaydeepak-tt/3f62827014030dff39453a4584d1afa0 to your computer and use it in GitHub Desktop.
A Flutter Application basic setup details and command's use while Developing
Flutter:
SetUp:
1. install git.
2. run "git clone -b beta https://github.com/flutter/flutter.git" in cmd promt.
3. Add the ..//path\flutter\bin to the environmet PATH variable.
4. Rerun the cmd promt and type "flutter", to chech it is working correct.
5. run "flutter doctor" cmd to check the required dependencies.
6. run "flutter upgrade" cmd to upgrade the package
Create Flutter Application - CMD:
1. flutter create <app_name>
2. run "flutter devices" to check the connected devices (mobile or Android Studio's Emilator sholud be connected).
3. If any device is connected run "flutter run" to run the application.
4. "flutter build apk" to create an apk file.
Create Flutter Application - VS Code:
1. Invoke View>Command Palette…
2. Type ‘flutter’, and select the ‘Flutter: New Project’ action
Build Final APK:
Ref: https://flutter.io/android-release/
Flutter Studio:
http://mutisya.com/
Dart Preiew:
https://github.com/flutter/flutter/wiki/Trying-the-preview-of-Dart-2-in-Flutter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment