Flutter 开发文档


What’s new on this site

查看最近网站更新的内容,请查阅 文档网站更新内容归档

To see changes to the site since our last release, see What’s new.

新接触 Flutter 吗

New to Flutter?

你可以从 安装和环境配置 开始,也可以上手试试看 第一个 Flutter 应用的开发

Once you’ve gone through Get started, including Write your first Flutter app, here are some next steps.




Coming from another platform? Check out Flutter for: Android, iOS, Web, React Native and Xamarin.Forms developers.

Flutter 中的布局
学习如何在 Flutter 中创建布局,在 Flutter 里,所有事物都是 widget。

Building layouts
Learn how to create layouts in Flutter, where everything is a widget.

一旦你理解了 Constraints flow up. Sizes flow down. Parents set positions 这个思路之后,就能更好帮助你了解 Flutter 的布局模型。

Understanding constraints
Once you understand that “Constraints flow up. Sizes flow down. Parents set positions”, then you are well on your way to understanding Flutter’s layout model.

为你的 Flutter 应用加入交互体验
在 app 里使用有状态的 widget。

Adding interactivity to your Flutter app
Learn how to add a stateful widget to your app.

Widgets 介绍
学习 Flutter 响应式框架的核心。

A tour of the Flutter widget framework
Learn more about Flutter’s react-style framework.


Get the answers to frequently asked questions.



我们在 YouTube 上有一个 视频频道,欢迎订阅!更多视频和播放列表介绍,以及社区制作的视频教程,可以查看我们的 Flutter 技术视频资源 页面。同时,你可以关注 “Google中国”的哔哩哔哩账号 了解更多更全面的谷歌技术中文内容,也可以关注 “Flutter 社区”的哔哩哔哩账号 了解更多来自社区的内容更新。

We also have some helpful videos on our Flutter YouTube channel! In particular, check out the Flutter in Focus series, and learn about other series on our videos page.

首先你需要知道,为何我们要使用 Flutter?是什么让它与众不同?

First up, why use Flutter? What makes it different than other app frameworks?

视频名称:使用 Flutter 开发应用与其他有何不同

How is Flutter different for app development?

FiF 系列视频:十分钟以内学会一个 Flutter 特性

Flutter in Focus: Learn Flutter features in 10 minutes or less.

Flutter 里 “所有的事物都是 widget”,如果你想更好了解有状态和无状态的 widget,请查看下面两支视频了解更多:

In Flutter, “everything is a widget”! If you want to better understand the two kinds of widgets, Stateless and Stateful, see the following videos,


Want to skill up?

如果你想看工程师们在线写代码、写 bug、修 bug,请关注 Boring Flutter Show 系列视频

If you learn best by watching engineers write code, make mistakes, and fix them, check out the Boring Flutter Show video series:

Boring Flutter Show 系列视频


You might also find these docs useful:

本网站的文档基于 Flutter 最新的稳定版。

The documentation on this site reflects the latest stable release of Flutter.