Code
Code
DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Windows install | Flutter</title>
<link rel="icon" href="/assets/images/shared/brand/flutter/icon/64.png" />
<link rel="apple-touch-icon"
href="/assets/images/shared/brand/flutter/logo/flutter-logomark-320px.png" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="theme-color" content="#ffffff" />
<meta name="google-site-verification"
content="HFqxhSbf9YA_0rBglNLzDiWnrHiK_w4cqDh2YD2GEY4" />
<script>
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?
id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-ND4LWWZ');
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function()
{
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new
Date();a=s.createElement(o),
m=s.getElementsByTagName(o)
[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-67589403-1', 'auto');
ga('send', 'pageview');
</script>
<link href="https://fonts.googleapis.com/css?family=Google+Sans:400,500"
rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500"
rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,700"
rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Material+Icons"
rel="stylesheet">
<script
src="https://use.fontawesome.com/releases/v5.15.1/js/all.js"
data-auto-replace-svg="nest">
</script>
<script>
window.__CALLBACKS = [];
</script>
</head>
<body >
<section id="cookie-notice">
<div class="container">
<p>Google uses cookies to deliver its services, to personalize ads, and to
analyze traffic. You can adjust your privacy controls anytime in your
<a href="https://myaccount.google.com/data-and-personalization"
target="_blank" rel="noopener">Google settings</a>.
<a href="https://policies.google.com/technologies/cookies" target="_blank"
rel="noopener">Learn more</a>.
</p>
<button id="cookie-consent" class="btn btn-primary">Okay</button>
</div>
</section>
<noscript>
<iframe
src="https://www.googletagmanager.com/ns.html?id=GTM-ND4LWWZ"
height="0" width="0" style="display:none;visibility:hidden">
</iframe>
</noscript>
<div id="overlay-under-drawer"></div>
<header class="site-header">
<nav class="navbar navbar-expand-md justify-content-start justify-content-md-
between">
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation">
<i class="material-icons">menu</i>
</button>
<div
id="navbarSupportedContent"
class="collapse navbar-collapse flex-grow-0">
<div
class="site-header__sheet-bg"
data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation">
</div>
<div class="site-header__sheet">
<ul class="navbar-nav">
<div class="site-sidebar site-sidebar--header d-md-none">
<ul class="nav flex-column"><li class="nav-item">
<a class="nav-link active" data-toggle="collapse" href="#sidenav-1"
role="button"
aria-expanded="true" aria-controls="sidenav-1"
>Get started</a>
</ul>
</li><li class="nav-item">
<a class="nav-link collapsed" data-toggle="collapse" href="#sidenav-4"
role="button"
aria-expanded="false" aria-controls="sidenav-4"
>Testing & debugging</a>
</div>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" id="platform-navbar-dropdown"
href="https://flutter.dev/multi-platform"
role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
Multi-Platform
</a>
<div class="dropdown-menu" aria-labelledby="platform-navbar-dropdown">
<a class="dropdown-item"
href="https://flutter.dev/multi-platform/mobile">Mobile</a>
<a class="dropdown-item"
href="https://flutter.dev/multi-platform/web">Web</a>
<a class="dropdown-item"
href="https://flutter.dev/multi-platform/desktop">Desktop</a>
<a class="dropdown-item"
href="https://flutter.dev/multi-platform/embedded">Embedded</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" id="dev-navbar-dropdown"
href="https://flutter.dev/development"
role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
Development
</a>
<div class="dropdown-menu" aria-labelledby="dev-navbar-dropdown">
<a class="dropdown-item" href="https://flutter.dev/learn">Learn</a>
<a class="dropdown-item" href="https://pub.dev/flutter/favorites"
target="_blank">Flutter Favorites</a>
<a class="dropdown-item" href="https://pub.dev/"
target="_blank">Packages</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" id="ecosystem-navbar-dropdown"
href="https://flutter.dev/ecosystem"
role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
Ecosystem
</a>
<div class="dropdown-menu" aria-labelledby="ecosystem-navbar-dropdown">
<a class="dropdown-item"
href="https://flutter.dev/community">Community</a>
<a class="dropdown-item" href="https://flutter.dev/events">Events</a>
<a class="dropdown-item"
href="https://flutter.dev/monetization">Monetization</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="https://flutter.dev/showcase">Showcase</a>
</li>
<li class="nav-item dropdown docs-item">
<a class="nav-link dropdown-toggle"
id="docs-navbar-dropdown"
href="/"
role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
Docs
</a>
<div class="dropdown-menu" aria-labelledby="docs-navbar-dropdown">
<a class="dropdown-item "
href="/whats-new">What's new</a>
<a class="dropdown-item "
href="/get-started/editor">Editor support</a>
<a class="dropdown-item "
href="/development/tools/hot-reload">Hot reload</a>
<a class="dropdown-item "
href="/perf/rendering/ui-performance">Profiling</a>
<a class="dropdown-item active"
href="/get-started/install">Install Flutter</a>
<a class="dropdown-item "
href="/development/tools/devtools/overview">DevTools</a>
<a class="dropdown-item "
href="/cookbook">Cookbook</a>
<a class="dropdown-item "
href="/reference/tutorials">Tutorials</a>
</div>
</li>
</ul>
<form action="/search/" class="site-header__search form-inline">
<input
class="site-header__searchfield form-control"
type="search" name="q" id="q" autocomplete="off"
placeholder="Search" aria-label="Search">
</form>
</div>
</div>
<div class="site-header__social navbar-nav flex-row">
<a
class="nav-item nav-link"
href="https://twitter.com/FlutterDev"
aria-label="Twitter">
<i class="fab fa-twitter fa-lg"></i>
</a>
<a
class="nav-item nav-link"
href="https://www.youtube.com/flutterdev"
aria-label="YouTube">
<i class="fab fa-youtube fa-lg"></i>
</a>
<a
class="nav-item nav-link"
href="https://github.com/flutter"
aria-label="GitHub">
<i class="fab fa-github fa-lg"></i>
</a>
</div>
<a
class="site-header__cta btn btn-primary"
href="/get-started/install/">Get started
</a>
</nav>
</header>
</ul>
</li><li class="nav-item">
<a class="nav-link collapsed" data-toggle="collapse" href="#sidenav-4"
role="button"
aria-expanded="false" aria-controls="sidenav-4"
>Testing & debugging</a>
</div>
<div
id="site-toc--side"
class="site-toc site-toc--side fixed-col col-xl-2 order-3"
data-fixed-column
>
<header class="site-toc__title">
Contents
<button type="button" class="btn site-toc--button__page-top" aria-label="Page
top"></button>
</header>
<ul id="toc" class="section-nav">
<li class="toc-entry nav-item toc-h2"><a class="nav-link" href="#system-
requirements">System requirements</a></li>
<li class="toc-entry nav-item toc-h2"><a class="nav-link" href="#get-the-flutter-
sdk">Get the Flutter SDK</a>
<ul class="nav">
<li class="toc-entry nav-item toc-h3"><a class="nav-link" href="#update-your-
path">Update your path</a></li>
<li class="toc-entry nav-item toc-h3"><a class="nav-link" href="#run-flutter-
doctor">Run flutter doctor</a></li>
</ul>
</li>
<li class="toc-entry nav-item toc-h2"><a class="nav-link" href="#android-
setup">Android setup</a>
<ul class="nav">
<li class="toc-entry nav-item toc-h3"><a class="nav-link" href="#install-android-
studio">Install Android Studio</a></li>
<li class="toc-entry nav-item toc-h3"><a class="nav-link" href="#set-up-your-
android-device">Set up your Android device</a></li>
<li class="toc-entry nav-item toc-h3"><a class="nav-link" href="#set-up-the-
android-emulator">Set up the Android emulator</a></li>
<li class="toc-entry nav-item toc-h3"><a class="nav-link" href="#agree-to-android-
licenses">Agree to Android Licenses</a></li>
</ul>
</li>
<li class="toc-entry nav-item toc-h2"><a class="nav-link" href="#windows-
setup">Windows setup</a>
<ul class="nav">
<li class="toc-entry nav-item toc-h3"><a class="nav-link" href="#additional-
windows-requirements">Additional Windows requirements</a></li>
</ul>
</li>
<li class="toc-entry nav-item toc-h2"><a class="nav-link" href="#web-setup">Web
setup</a></li>
<li class="toc-entry nav-item toc-h2"><a class="nav-link" href="#next-step">Next
step</a></li>
</ul>
</div>
<main class="site-content col-12 col-md-9 offset-md-3 col-xl-8 offset-xl-2 col-xxl-
8 offset-xxl-2" role="main">
<div class="container">
<nav class="site-nextprev-nav__single">
<ul>
<li class="next">
<a href="/get-started/editor">Set up an editor</a>
</li>
</ul>
</nav>
<header class="site-content__title">
<div id="page-github-links" class="btn-group" aria-label="Page GitHub
links" role="group">
<a href="https://github.com/flutter/website/tree/main/src/get-started/install/
windows.md" class="btn no-automatic-external" title="View page source"
target="_blank" rel="noopener">
<i class="fas fa-file-alt fa-sm"></i>
</a>
<a href="https://github.com/flutter/website/issues/new?
template=1_page_issue.yml&title=[PAGE ISSUE]: 'Windows
install'&page-url=https://docs.flutter.dev/get-started/install/windows/&page-
source=https://github.com/flutter/website/tree/main/src/get-started/install/
windows.md" class="btn no-automatic-external" title="Report an issue with this
page"
target="_blank" rel="noopener">
<i class="fas fa-bug fa-sm"></i>
</a>
</div>
<h1>Windows install</h1>
<nav aria-label="breadcrumb">
<ol class="breadcrumb" vocab="http://schema.org/" typeof="BreadcrumbList">
<li class="breadcrumb-item"
property="itemListElement" typeof="ListItem"><a href="/get-started"
property="item" typeof="WebPage"><span property="name">Get started</span>
</a>
<meta property="position" content="1" />
</li>
<li class="breadcrumb-item"
property="itemListElement" typeof="ListItem"><a href="/get-started/install"
property="item" typeof="WebPage"><span property="name">Install</span>
</a>
<meta property="position" content="2" />
</li>
<li class="breadcrumb-item active"
property="itemListElement" typeof="ListItem" aria-current="page"><a
href="/get-started/install/windows" property="item" typeof="WebPage"><span
property="name">Windows</span>
</a>
<meta property="position" content="3" />
</li>
</ol>
</nav>
</header>
<div
id="site-toc--inline"
class="site-toc site-toc--inline "
>
<header class="site-toc__title">
Contents
</header>
<ul id="toc" class="section-nav">
<li class="toc-entry toc-h2"><a href="#system-requirements">System
requirements</a></li>
<li class="toc-entry toc-h2"><a href="#get-the-flutter-sdk">Get the Flutter SDK</a>
<ul>
<li class="toc-entry toc-h3"><a href="#update-your-path">Update your path</a></li>
<li class="toc-entry toc-h3"><a href="#run-flutter-doctor">Run flutter
doctor</a></li>
</ul>
</li>
<li class="toc-entry toc-h2"><a href="#android-setup">Android setup</a>
<ul>
<li class="toc-entry toc-h3"><a href="#install-android-studio">Install Android
Studio</a></li>
<li class="toc-entry toc-h3"><a href="#set-up-your-android-device">Set up your
Android device</a></li>
<li class="toc-entry toc-h3"><a href="#set-up-the-android-emulator">Set up the
Android emulator</a></li>
<li class="toc-entry toc-h3"><a href="#agree-to-android-licenses">Agree to Android
Licenses</a></li>
</ul>
</li>
<li class="toc-entry toc-h2"><a href="#windows-setup">Windows setup</a>
<ul>
<li class="toc-entry toc-h3"><a href="#additional-windows-requirements">Additional
Windows requirements</a></li>
</ul>
</li>
<li class="toc-entry toc-h2"><a href="#web-setup">Web setup</a></li>
<li class="toc-entry toc-h2"><a href="#next-step">Next step</a></li>
</ul>
</div>
<h2 id="system-requirements">
<a class="anchor" href="#system-requirements" aria-hidden="true"><span
class="octicon octicon-link"></span></a>System requirements</h2>
<ul>
<li>
<strong>Operating Systems</strong>: Windows 10 or later (64-bit), x86-64
based.</li>
<li>
<strong>Disk Space</strong>: 1.64 GB (does not include disk space for
IDE/tools).</li>
<li>
<strong>Tools</strong>: Flutter depends on these tools being available in your
environment.
<ul>
<li>
<a href="https://docs.microsoft.com/en-us/powershell/scripting/install/installing-
windows-powershell">Windows PowerShell 5.0</a> or newer (this is pre-installed with
Windows 10)</li>
<li>
<p><a href="https://git-scm.com/download/win">Git for Windows</a> 2.x, with
the
<strong>Use Git from the Windows Command Prompt</strong> option.</p>
<h2 id="get-the-flutter-sdk">
<a class="anchor" href="#get-the-flutter-sdk" aria-hidden="true"><span
class="octicon octicon-link"></span></a>Get the Flutter SDK</h2>
<ol>
<li>
<p>Download the following installation bundle to get the latest
stable release of the Flutter SDK:</p>
<p>You are now ready to run Flutter commands in the Flutter Console.</p>
<h3 id="update-your-path">
<a class="anchor" href="#update-your-path" aria-hidden="true"><span class="octicon
octicon-link"></span></a>Update your path</h3>
<p>If you wish to run Flutter commands in the regular Windows console,
take these steps to add Flutter to the <code class="language-plaintext highlighter-
rouge">PATH</code> environment variable:</p>
<ul>
<li>From the Start search bar, enter ‘env’
and select <strong>Edit environment variables for your account</strong>.</li>
<li>Under <strong>User variables</strong> check if there is an entry called
<strong>Path</strong>:
<ul>
<li>If the entry exists, append the full path to <code class="language-
plaintext highlighter-rouge">flutter\bin</code> using
<code class="language-plaintext highlighter-rouge">;</code> as a separator from
existing values.</li>
<li>If the entry doesn’t exist,
create a new user variable named <code class="language-plaintext highlighter-
rouge">Path</code> with
the full path to <code class="language-plaintext
highlighter-rouge">flutter\bin</code> as its value.</li>
</ul>
</li>
</ul>
<h3 id="run-flutter-doctor">
<a class="anchor" href="#run-flutter-doctor" aria-hidden="true"><span
class="octicon octicon-link"></span></a>Run <code class="language-plaintext
highlighter-rouge">flutter doctor</code>
</h3>
<p>This command checks your environment and displays a report of the status
of your Flutter installation. Check the output carefully for other
software you might need to install or further tasks to perform
(shown in <strong>bold</strong> text).</p>
<p>For example:</p>
<pre>
[-] Android toolchain - develop for Android devices
• Android SDK at D:\Android\sdk
<strong>✗ Android SDK is missing command line tools; download from
https://goo.gl/XxQghQ</strong>
• Try re-installing or updating your Android SDK,
visit https://docs.flutter.dev/setup/#android-setup for detailed
instructions.
</pre>
<p>For example, when installed from GitHub (as opposed to from a prepackaged
archive),
the Flutter tool will download the Dart SDK from Google servers immediately when
first run, as it is used to execute the <code class="language-plaintext
highlighter-rouge">flutter</code> tool itself. This will also
occur when Flutter is upgraded (e.g. by running the <code class="language-
plaintext highlighter-rouge">flutter upgrade</code> command).</p>
<p>Flutter tool analytics are not sent on the very first run. To disable
reporting, run <code class="language-plaintext highlighter-rouge">flutter config
--no-analytics</code>. To display the current
setting, use <code class="language-plaintext highlighter-rouge">flutter
config</code>. If you opt out of analytics, an opt-out
event is sent, and then no further information is sent by the
Flutter tool.</p>
<p>Dart tools may also send usage metrics and crash reports to Google.
To control the submission of these metrics, use the following options on the
<a href="https://dart.dev/tools/dart-tool"><code class="language-plaintext
highlighter-rouge">dart</code> tool</a>:</p>
<ul>
<li>
<code class="language-plaintext highlighter-rouge">--enable-analytics</code>:
Enables anonymous analytics.</li>
<li>
<code class="language-plaintext highlighter-rouge">--disable-analytics</code>:
Disables anonymous analytics.</li>
</ul>
</aside>
<h2 id="android-setup">
<a class="anchor" href="#android-setup" aria-hidden="true"><span class="octicon
octicon-link"></span></a>Android setup</h2>
<h3 id="install-android-studio">
<a class="anchor" href="#install-android-studio" aria-hidden="true"><span
class="octicon octicon-link"></span></a>Install Android Studio</h3>
<ol>
<li>Download and install <a href="https://developer.android.com/studio">Android
Studio</a>.</li>
<li>Start Android Studio, and go through the ‘Android Studio Setup Wizard’.
This installs the latest Android SDK, Android SDK Command-line Tools,
and Android SDK Build-Tools, which are required by Flutter
when developing for Android.</li>
<li>Run <code class="language-plaintext highlighter-rouge">flutter doctor</code>
to confirm that Flutter has located
your installation of Android Studio. If Flutter cannot locate it,
run <code class="language-plaintext highlighter-rouge">flutter config --android-
studio-dir <directory></code> to set the
directory that Android Studio is installed to.</li>
</ol>
<h3 id="set-up-your-android-device">
<a class="anchor" href="#set-up-your-android-device" aria-hidden="true"><span
class="octicon octicon-link"></span></a>Set up your Android device</h3>
<p>To prepare to run and test your Flutter app on an Android device,
you need an Android device running Android 4.1 (API level 16) or higher.</p>
<ol>
<li>Enable <strong>Developer options</strong> and <strong>USB debugging</strong>
on your device.
Detailed instructions are available in the
<a href="https://developer.android.com/studio/debug/dev-options">Android
documentation</a>.</li>
<li>Windows-only: Install the <a
href="https://developer.android.com/studio/run/win-usb">Google USB
Driver</a>.</li>
<li>Using a USB cable, plug your phone into your computer. If prompted on your
device, authorize your computer to access your device.</li>
<li>In the terminal, run the <code class="language-plaintext highlighter-
rouge">flutter devices</code> command to verify that
Flutter recognizes your connected Android device. By default,
Flutter uses the version of the Android SDK where your <code class="language-
plaintext highlighter-rouge">adb</code>
tool is based. If you want Flutter to use a different installation
of the Android SDK, you must set the <code class="language-plaintext highlighter-
rouge">ANDROID_SDK_ROOT</code> environment
variable to that installation directory.</li>
</ol>
<h3 id="set-up-the-android-emulator">
<a class="anchor" href="#set-up-the-android-emulator" aria-hidden="true"><span
class="octicon octicon-link"></span></a>Set up the Android emulator</h3>
<p>To prepare to run and test your Flutter app on the Android emulator,
follow these steps:</p>
<ol>
<li>Enable
<a href="https://developer.android.com/studio/run/emulator-acceleration#accel-
vm">VM acceleration</a>
on your machine.</li>
<li>Launch <strong>Android Studio</strong>, click the <strong>AVD
Manager</strong>
icon, and select <strong>Create Virtual Device…</strong>
<ul>
<li>In older versions of Android Studio, you should instead
launch <strong>Android Studio > Tools > Android > AVD Manager</strong> and
select
<strong>Create Virtual Device…</strong>. (The <strong>Android</strong> submenu is
only present
when inside an Android project.)</li>
<li>If you do not have a project open, you can choose
<strong>Configure > AVD Manager</strong> and select <strong>Create Virtual
Device…</strong>
</li>
</ul>
</li>
<li>Choose a device definition and select <strong>Next</strong>.</li>
<li>Select one or more system images for the Android versions you want
to emulate, and select <strong>Next</strong>.
An <em>x86</em> or <em>x86_64</em> image is recommended.</li>
<li>Under Emulated Performance, select <strong>Hardware - GLES 2.0</strong> to
enable
<a href="https://developer.android.com/studio/run/emulator-acceleration">hardware
acceleration</a>.</li>
<li>
<p>Verify the AVD configuration is correct, and select
<strong>Finish</strong>.</p>
<h3 id="agree-to-android-licenses">
<a class="anchor" href="#agree-to-android-licenses" aria-hidden="true"><span
class="octicon octicon-link"></span></a>Agree to Android Licenses</h3>
<ol>
<li>
<p>Make sure that you have a version of Java 8 installed and that your
<code class="language-plaintext highlighter-rouge">JAVA_HOME</code> environment
variable is set to the JDK’s folder.</p>
<p>Android Studio versions 2.2 and higher come with a JDK, so this should
already be done.</p>
</li>
<li>Open an elevated console window and run the following command to begin
signing licenses.
<div class="language-terminal highlighter-rouge">
<div class="highlight"><pre class="highlight"><code><span class="gp">$</span><span
class="w"> </span>flutter doctor <span class="nt">--android-licenses</span>
</code></pre></div> </div>
</li>
<li>Review the terms of each license carefully before agreeing to them.</li>
<li>Once you are done agreeing with licenses, run <code class="language-plaintext
highlighter-rouge">flutter doctor</code> again
to confirm that you are ready to use Flutter.</li>
</ol>
<h2 id="windows-setup">
<a class="anchor" href="#windows-setup" aria-hidden="true"><span class="octicon
octicon-link"></span></a>Windows setup</h2>
<h3 id="additional-windows-requirements">
<a class="anchor" href="#additional-windows-requirements" aria-hidden="true"><span
class="octicon octicon-link"></span></a>Additional Windows requirements</h3>
<ul>
<li>
<a href="https://visualstudio.microsoft.com/downloads/">Visual Studio 2022</a> or
<a href="https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-
studio-2022">Visual Studio Build Tools 2022</a>
When installing Visual Studio or only the Build Tools,
you need the “Desktop development with C++” workload installed
for building windows, including all of its default components.</li>
</ul>
<h2 id="web-setup">
<a class="anchor" href="#web-setup" aria-hidden="true"><span class="octicon
octicon-link"></span></a>Web setup</h2>
<h2 id="next-step">
<a class="anchor" href="#next-step" aria-hidden="true"><span class="octicon
octicon-link"></span></a>Next step</h2>
<nav class="site-nextprev-nav__single">
<ul>
<li class="next">
<a href="/get-started/editor">Set up an editor</a>
</li>
</ul>
</nav>
</div>
</main>
</div>
</div>
<footer class="site-footer">
<div class="container-fluid">
<div class="row">
<div class="col-md-12 site-footer__wrapper">
<div class="site-footer__logo">
<img src="/assets/images/shared/brand/flutter/logo/flutter-mono-
81x100.png" alt="Flutter Logo" width="81" height="100">
</div>
<div class="site-footer__content">
<ul class="site-footer__link-list">
<li><a href="https://groups.google.com/forum/#!forum/flutter-
dev">flutter-dev@</a></li>
<li><a href="/tos">terms</a></li>
<li><a href="/brand">brand usage</a></li>
<li><a href="/security">security</a></li>
<li><a
href="https://www.google.com/intl/en/policies/privacy">privacy</a></li>
<li><a href="https://esflutter.dev/">español</a></li>
<li><a href="https://flutter.cn" class="text-nowrap">社区中文资
源</a></li>
<li><a href="https://blog.google/inside-google/company-
announcements/standing-with-black-community">We stand in solidarity with the Black
community. Black Lives Matter.</a></li>
</ul>
<p class="licenses">
Except as otherwise noted,
this work is licensed under a
<a rel="license"
href="https://creativecommons.org/licenses/by/4.0">Creative
Commons Attribution 4.0 International License</a>,
and code samples are licensed under the BSD License.
</p>
</div>
</div>
</div>
</div>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"
integrity="sha512-aVKKRRi/Q/YV+4mjoKBsE4x3H+BkegoM/em46NNlCqNTmUYADjBbeNefNxYV7giUp
0VxICtqdrbqU7iVaeZNXA==" crossorigin="anonymous"
referrerpolicy="no-referrer"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js"
integrity="sha512-
ubuT8Z88WxezgSqf3RLuNi5lmjstiJcyezx34yIU2gAHonIi27Na7atqzUZCOoY4CExaoFumzOsFQ2Ch+I/
HCw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/4.6.2/js/bootstrap.min.js"
integrity="sha512-
7rusk8kGPFynZWu26OKbTeI+QPoYchtxsmPeBqkHIEXJxeun4yJ4ISYe7C6sz9wdxeE1Gk3VxsIWgCZTc+v
X3g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.11/clipboard.min.js"
integrity="sha512-
7O5pXpc0oCRrxk8RUfDYFgn0nO1t+jLuIOQdOMRp4APB7uZ4vSjspzp5y6YDtDs4VzUSTbWzBFZ/
LKJhnyFOKw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/3.0.1/js.cookie.min.js"
integrity="sha512-
wT7uPE7tOP6w4o28u1DN775jYjHQApdBnib5Pho4RB0Pgd9y7eSkAV1BTqQydupYDB9GBhTcQQzyNMPMV3c
Aew==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script
src="/assets/js/vendor/code-prettify/prettify.js?v=1669355944"></script>
<script
src="/assets/js/vendor/code-prettify/lang-css.js?v=1669355944"></script>
<script src="/assets/js/vendor/code-prettify/lang-dart.js?v=1669355944"></
script>
<script src="/assets/js/vendor/code-prettify/lang-yaml.js?v=1669355944"></
script>
<script src="/assets/js/tabs.js?v=1669355944"></script>
<script src="/assets/js/archive.js?v=1669355944"></script>
<script src="/assets/js/main.js?v=1669355944"></script>
</body>
</html>