Getting Started - Configuration Editor

You can build applications with Flutter using any text editor combined with command line tools. However, we recommend using one of our editor plugins for a better experience. With our editor plugin, you get code completion, syntax highlighting, widget editing assistance, run and debugging support, and more.

Follow the previous steps to add editor plugins for Android Studio, IntelliJ or VS Code. If you want to use a different editor, that's okay, just skip to the next step: create and run your first application .

Android Studio 

Android Studio: Provides a full integrated IDE experience for Flutter.

Install Android Studio

Alternatively, you can also use IntelliJ:

Install Flutter and Dart plugins

Flutter is supported by two plugins:

  • Flutter plugins support Flutter developer workflows (run, debug, hot reload, etc.).
  • The Dart plugin provides code analysis (code validation, typing code, completing code, etc.).

To install these:

  • Start Android Studio.
  • Open the plugin preferences ( Preferences>Plugins  on macOS, File>Settings>Plugins  on Windows and Linux).
  • Select Browse repositories... , select the Flutter plugin and click Install .
  • Click Yes when prompted to install the Dart plugin.
  • Click Restart when prompted.

Next Steps
Let's try Flutter: create your first project, run it, and experience "hot reload".

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325369823&siteId=291194637