Skip to content

Instantly share code, notes, and snippets.

@OldMetalmind
Last active April 27, 2019 10:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save OldMetalmind/ce8c2b1b8c758986685cda7005f66b9f to your computer and use it in GitHub Desktop.
Save OldMetalmind/ce8c2b1b8c758986685cda7005f66b9f to your computer and use it in GitHub Desktop.

Flutter Workshop: Setup

System Requirements

Check the following links for the system requirements for your operating system before you start.

Note: you will require access to a MacOS to be able to build for iOS or use an online CI

You will also need

Have at least one of the following:

  • A device connected to your SO, an Android or an iOS
  • Android emulator.
  • iOS emulator.

Install Flutter

Go to the oficial website flutter.dev for installation instructions. Start by picking your operating system of choice.

Install https://flutter.io/docs/get-started/install

Note: While Flutter relies to have full Android Studio installed because of dependencies, you do not need to develop Flutter in it. In fact our editor of choice will be Visual Studio Code.

VSCode Editor

The editor of choice will be Visual Studio Code ( install ), there are instructions in the oficial website, make sure you install the Flutter and Dart plugin for VSCode.

Install VSCode: https://flutter.io/docs/get-started/editor?tab=vscode

Recomended VSCode Plugins

We also recomend that you install the following plugins.

Check Installation

Flutter Doctor

Run command flutter doctor in your console and you should have mostly everything with a green check mark.

Flutter Doctor

Troubleshooting:

  • Have at least one toolchain for developing iOS or Android
  • Having 'licensing problems' you can try the command flutter doctor --android-licenses
  • It's recommended that you to use Java 8, for set up you can install SDKMAN
  • Problems using the android emulator? Don't for get to set ut the $ANDROID_SDK_ROOT
  • If you are using and android connected over USB and it is not detected:
    • Install "Android File Transfer"
    • Check for your model if need any software installed
    • Restart the ADB by running the following command adb kill-server
    • Try a different USB cable

Dart 2.1.0

While we will be developing in Dart, if you are experienced developer in another programming language, you will find it easy to start. We will mostly use Flutter Widgets but if you would like to know more about Dart, or if you need to learn how to do something in Dart. I recommend you check the following websites

Flutter

@mysterioux
Copy link

Thanks these setups are essential for any workshop. Prior to the day of event, it is highly recommended that users get these tools up and running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment