Flutter Visual Studio
Flutter build task for Azure DevOps.
Visual-studio-code flutter. Improve this question. Follow edited Aug 7 '18 at 21:32. 24.4k 7 7 gold badges 56 56 silver badges 80 80 bronze badges. Asked Aug 7 '18 at 19:48. 107 1 1 gold badge 3 3 silver badges 11 11 bronze badges.
- Re-open your Visual Studio Code; Press Ctrl + Shift + P; Type flutter and choose Flutter: New Application Project; Type your project name (e.g: flutterapplication1) Select a folder to create the project in; If you want to change your flutter sdk location. Go to Visual Studio Code.
- We support plugins for Android Studio, IntelliJ IDEA, and VS Code. See editor configuration for setup details, and Android Studio/IntelliJ and VS Code for tips on how to use the plugins. Alternatively, you can use a combination of the flutter command in a terminal.
- The Dart and Flutter extensions extend VS Code with support for the Dart programming language and provides tools for effectively editing, refactoring, running, and reloading Flutter mobile apps, and AngularDart web apps.
- Hello Friends,In this video tutorial, you will learn to install flutter in visual studio code. I have explained everything in a very easy way.
Installation
Installation can be done using Visual Studio MarketPlace.
Source Code
Source code can be found on Github.
Usage

Add the tasks to your build definition.

Install

Installs the Flutter SDK onto the running agent if not already installed. Then uses it for following tasks.
- Select the
channel
:stable (default)
,beta
, ordev
. - Select the
version
of the SDK to install:latest (default)
,custom
. Ifcustom
is specified, acustom version
must be set. - (Optional). Set the
custom version
(in a<M>.<m>.<p>
semver format) if needed.
Build
Build the given mobile application project. You must call the Flutter Install
task, set a FlutterToolPath
environment variable, or use the optional Flutter SDK Path task entry that points to your flutter/bin
folder before execution. All the application bundles are created into the build/outputs
folder of your project.
- Select the
project source directory
(that contains topubspec.yaml
file). - Select the
target
platform:Android (default)
,iOS
, orAll
for both. - (Optional). Set
flutter sdk path
if using a local agent with a pre-installed Flutter SDK, can specify the path to utilize it. Otherwise use Flutter Install. - (Optional). Set
package name
(like1.2.3
) that will override the manifest's one. - (Optional). Set
package number
(like12
) that will override the manifest's one. - (Optional). Set
build flavour
(likedevelopment
) to specify a build flavour. Must match Android Gradle flavor definition or XCode scheme. - (Optional). Set
debug
if you wish to override the default release mode for the build. - (Android).(Optional). Set
platform
for the Android target:android-arm (default)
,android-arm64
. - (iOS).(Optional). Set
platform
for the iOS target:device (default)
,simulator
. - (iOS).(Optional). Codesign the application bundle (only available on device builds, and activated by default). Warning: you must install a valid certificate before build with the
Install an Apple Certificate
task
Test
Launch tests and publish a report as build test results.
- Select the
project source directory
(that contains topubspec.yaml
file). - (Optional). Set
test name
as a regular expression matching substrings of the names of tests to run. - (Optional). Set
Test plain name
as a plain-text substring of the names of tests to run. - (Optional). Set
Test plain name
as a plain-text substring of the names of tests to run. - (Optional). Set
update goldens
: whethermatchesGoldenFile()
calls within your test methods should update the golden files rather than test for an existing match. - (Optional). The number of
concurrent
test processes to run. (defaults to6
)
command
Launch a Flutter command with custom arguments.
FAQ
Flutter command isn't recognized ?
Make sure that you have a Flutter Install
at the beginning of your definition.
Can I run a custom Flutter command ?
Yes, right after the Flutter Install
task, a FlutterToolPath
environment variable points to the bin
of the Flutter SDK directory. You just have to use $(FlutterToolPath)
in your following tasks.
Can I run Dart program ?
Yes, actually a Dart runtime is embedded with Flutter tools (in the /cache/dart-sdk/bin
subdirectory).
A task example :
License
The Ultimate Extension Pack which includes every extension you will ever need for Flutter development.
Table of Contents
- Open VS Code and click on Extensions Icon in the Activity Bar.
- Type Ultimate Flutter Extension Pack
- Install the Extension Pack.
You can read the blog on how to use each Extension on Medium
Flutter Extensions
Awesome Flutter Snippets - Awesome Flutter Snippets is a collection snippets and shortcuts for commonly used Flutter functions and classes.
BLOC - Support for the bloc library and provides tools for effectively creating blocs for both Flutter and AngularDart apps.
Dart - Dart language support and debugger for Visual Studio Code.
Flutter - Flutter support and debugger for Visual Studio Code.
Flutter Color - A user friendly plugin to help you work with ARGB Color in VS Code, for any project.
Flutter Snippets - Supercharge your Flutter workflow with handy Snippets for VS Code
Pubspec Assist - Easily add dependencies to your Dart / Flutter project.
Pubspec Dependency Search - Easy search dependency name in dart packages site for flutter developers.
Dart Barrel File Generator - Generates barrel files for dart projects and Flutter apps.
Productivity Extensions

Better Comments - Improve your code commenting by annotating with alert, informational, TODOs, and more!
Bracket Pair Colorizer - A customizable extension for colorizing matching brackets.
Error Lens - Improve highlighting of errors, warnings and other language diagnostics.
Material Icon Theme - Material Design Icons for Visual Studio Code.
Snapcode - Snapcode for your code.
Todo Tree - Manage todo lists with ease. Powerful, easy to use and customizable.
Visual Studio IntelliCode - AI-assisted development.
REST Client - REST Client for Visual Studio Code.
Chronicler - Screen Recorder for VS Code
Git Extensions
Auto-Open Markdown Preview - Open Markdown preview automatically when opening a Markdown file.
Git Graph - View a Git Graph of your repository, and perform Git actions from the graph.
Git History - View git log, file history, compare branches or commits.
GitLens Git supercharged - Supercharge the Git capabilities built into Visual Studio Code .Visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more.
Maruf Hassan 🌐📖👀🚧 | Sk Rehan Ahmed 🎨 |
Contribution is welcomed. I intend to update the Extensions monthly to keep it updated with the best extensions.
How to contribute?
Follow the process below.
- Create a new issue
- Click on Extension request
- Mention the Extension name with the Publisher Name and provide the Extension link.
Flutter Visual Studio Code Vs Android Studio
