title | short-title | description | tags | keywords |
---|---|---|---|---|
Flutter 开发文档 |
文档 |
Flutter 上手起步,包括 widgets 介绍、样例代码、最新更新和 API 文档,帮助你撰写第一个 Flutter 应用。 |
Flutter中文文档 |
Flutter文档,Flutter汉语文档,Flutter开发导航 |
{{card.description}}
To see changes to the site since our last release, see What's new.
查看最近网站更新的内容,请查阅 文档网站更新内容归档。
Once you've Set up Flutter, you should follow the Write your first Flutter app codelab and read Flutter fundamentals. These resources are opinionated documentation that guide you through the most important parts of building a Flutter app.
当你 设置完成 Flutter 后, 接下来你可以上手试试 第一个 Flutter 应用的开发 codelab 以及阅读 Flutter 基础知识。 这些资源是有明确指导性的文档, 会引导你了解构建 Flutter 应用的重要部分。
Coming from another platform? Check out Flutter for: Android, SwiftUI, UIKit, React Native, and Xamarin.Forms developers.
看我们为各种已经有相关平台开发经验的开发者准备的文档:
- 给 Android 开发者的 Flutter 指南
- 给 iOS SwiftUI 开发者的 Flutter 指南
- 给 iOS UIKit 开发者的 Flutter 指南
- 给 React Native 开发者的 Flutter 指南
- 给 Xamarin.Forms 开发者的 Flutter 指南
Building layouts
Learn how to create layouts in Flutter,
where everything is a widget.
Flutter 中的布局
学习如何在 Flutter 中创建布局,在 Flutter 里,所有事物都是 widget。
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.
理解布局约束
一旦你理解了 Constraints flow up. Sizes flow down. Parents set positions
这个思路之后,就能更好帮助你了解 Flutter 的布局模型。
Adding interactivity to your Flutter app
Learn how to add a stateful widget to your app.
为你的 Flutter 应用加入交互体验
在 app 里使用有状态的 widget。
FAQ
Get the answers to frequently asked questions.
常见问题
常见问题解答
Check out the Introducing Flutter series.
Learn Flutter basics like
how do I make my first Flutter app?
In Flutter, "everything is a widget"!
Learn more about Stateless
and Stateful
widgets in What is State?
我们在 YouTube 上有一个 Flutter 频道,欢迎订阅! 更多视频和播放列表介绍,以及社区制作的视频教程, 可以查看我们的 Flutter 技术视频资源 页面。 同时,你可以关注 “Google中国”的哔哩哔哩账号 了解更多更全面的谷歌技术中文内容, 也可以关注 “Flutter 社区”的哔哩哔哩账号 了解更多来自社区的内容更新。
请查看下述 Flutter 入门系列视频,通过 构建第一个 Flutter 应用 学习 Flutter 基础内容,Flutter 里 “所有的事物都是 widget”,如果你想更好了解有状态 Stateful
和无状态 Stateless
的 widget,查看视频 什么是状态?
{% videoWrapper '一分钟!快速学习构建和部署 Flutter 应用' %} {% ytEmbed 'ZnufaryH43s', 'How to build and deploy a Flutter app in 60 seconds!', true %} {% endvideoWrapper %}
Dive deeper into how Flutter works under the hood! Learn why you write standalone widgets instead of using helper methods or what is "BuildContext" and how is it used?
深入了解 Flutter 的工作原理, 了解为什么要编写独立的 widget 而不是使用 help 方法, 以及 "BuildContext" 是什么,以及如何使用:
To learn about all of the Flutter video series, see our videos page.
了解更多 Flutter 的视频系列内容,可以查看 视频学习资源 页面。
We release new videos almost every week on the Flutter YouTube channel:
我们每周都会在 Flutter 的 YouTube 频道更新视频,欢迎关注: