Set up the editor

Note :

If you already installed set up the editor while learning dart from previous lesson , you can move to the next lesson.


Install VS Code

VS Code is a lightweight editor with Flutter app execution and debug support.

Install the Flutter and Dart plugins

  1. Start VS Code.

  2. Invoke View > Command Palette ….

  3. Type “install” and select Extensions: Install Extensions.

  4. Type “flutter” in the extensions search field, select Flutter in the list, and click Install. This also installs the required Dart plugin.

Validate your setup with the Flutter Doctor

  1. Invoke View > Command Palette ….

  2. Type “doctor” and select the Flutter: Run Flutter Doctor.

  3. Review the output in the OUTPUT pane for any issues. Make sure to select Flutter from the dropdown in the different Output Options.