文档网站更新内容归档

该归档包含了历史公告,以及网站上的更新内容。想要了解每个 Flutter 发布的版本更新内容,请查看 发布说明 页面。

要及时同步最新 Flutter 公告,包括重大变更 (breaking changes) 等,请加入 flutter-announce 邮件组。

你可以加入 Dart Announce 邮件组或查看 Dart 更新日志 了解 Dart 的更新内容。

Jan 25, 2023, Flutter Forward edition: 3.7 release

Flutter 3.7 is live! This release contains many updates and improvements. This page lists the documentation changes, but you can also check out the 3.7 blog post and the 3.7 release notes.

You might also check out What’s next for Flutter and Introducing Dart 3 alpha.

Docs updated or added since the 3.3 release

Codelabs and workshops

We have new codelabs since the last stable release:

  • Your first Flutter app
    Learn about Flutter as you build an application that generates cool-sounding names, such as “newstay”, “lightstream”, “mainbrake”, or “graypine”. The user can ask for the next name, favorite the current one, and review the list of favorited names on a separate page. The final app is responsive to different screen sizes. (Note that this codelab replaces the previous “Write your first Flutter codelab for mobile, part 1 and part 2.”)
  • Using FFI in a Flutter plugin
    Dart’s FFI (foreign function interface) allows Flutter apps to use of existing native libraries that expose a C API. Dart supports FFI on Android, iOS, Windows, macOS, and Linux.
  • Building a game with Flutter and Flame
    Learn how to build a platformer game with Flutter and Flame! In the Doodle Dash game, inspired by Doodle Jump, you play as either Dash (the Flutter mascot), or her best friend Sparky (the Firebase mascot), and try to reach as high as possible by jumping on platforms.
  • Add a user authentication flow to a Flutter app using FirebaseUI
    Learn how to add Firebase Authentication to your Flutter app using the FlutterFire UI package. You’ll add both email/password and Google Sign In authorization to a Flutter app. You’ll also learn how to set up a Firebase project, and use the FlutterFire CLI to initialize Firebase in your Flutter app.
  • Local development for your Flutter apps using the Firebase Emulator Suite
    Learn how to use the Firebase Emulator Suite with Flutter during local development, including how to use email-password authentication with the Emulator Suite, and how to read and write data to the Firestore emulator. Also, you’ll import and export data from the emulators, to work with the same faked data each time you return to development.

In addition, we’ve updated all of our existing codelabs to support multiplatform. The codelabs & workshops page is updated to reflect the latest available codelabs.

Articles

We’ve published the following articles on the Flutter Medium publication since the last stable release:

Aug 31, 2022, Flutter Vikings Edition: 3.3 release

Flutter 3.3 is live! For more information, see

What’s new in Flutter 3.3, and Dart 2.18: Objective-C & Swift interop (free articles on Medium), and the Flutter 3.3 release notes.

Docs updated or added since the 3.0 release

  • The navigation and routing overview page has been rewritten with more guidance on using Navigator and Router together, named routes, and using a routing package.
  • The URL strategies page has also been updated to reflect a more streamlined API.
  • For apps not published to the Microsoft Store, you can now set the app’s executable’s file and product versions in the pubspec file. For more information, see Build and release a Windows desktop app.
  • If you are developing software for iOS 16 and higher, you must enable Developer mode. The macOS install page is updated with this information.
  • As described in the 3.3 release notes, you should catch all errors and exceptions in your app by setting the PlatformDispatcher.onError callback, instead of using a custom Zone. The Handling errors in Flutter page has been updated with this advice.

May 11, 2022, Google I/O Edition: Flutter 3 release

Flutter 3 is live!!! For more information, see Introducing Flutter 3, What’s new in Flutter 3, and Dart 2.17: Productivity and integration (free articles on Medium), and the Flutter 3 release notes.

Docs updated or added since the 2.10 release

  • We have launched the Casual Games Toolkit to help you build games with Flutter. Learn more on the Games page and the Games doc page.
  • Are you struggling to level up as a Flutter developer? We have created the Happy paths project to help. Learn more on the Happy paths page.
  • Are you a web developer who would like more control over your app’s launch process? Check out the new page, Customizing web app initialization, which has been added to the newly updated and collected web docs under /development/platform-integration/web.
  • Flutter 3 supports Apple Silicon processors. We’ve updated the macOS install page to offer an Apple Silicon download button.
  • In Flutter 3, the macOS and Linux platforms have reached stable, in addition to Windows. You can now develop your app to run on any or all of these platforms. As a result, the Desktop (and related) pages are updated.
  • The Performance best practices page has largely been rewritten and moved to be more visible. The changes include additional advice on avoiding jank, including how to minimize layout passes caused by intrinsics, and techniques to minimize calls to saveLayer().
  • Firebase’s Flutter docs have been overhauled. Check out the newly updated Flutter Firebase get started guide.
  • The dart.dev site has its own what’s new page, but one new page of note is the guide, Learning Dart as a JavaScript developer. Stay tuned for similar articles on Swift and C#.

Codelabs and workshops

We have a new codelab since the last stable release:

Also, check out the workshops written by our GDEs and available on the Flutter community blog.

Videos

Google I/O 2022 is over, but you can still check out the Flutter-specific updates and talks from Google I/O on the videos page.


Feb 3, 2022, Windows Support: 2.10 release

Desktop support for Microsoft Windows (a central feature of the 2.10 release) is live! For more information, see Announcing Flutter for Windows and What’s new in Flutter 2.10, free articles on Medium.


December 8, 2021: 2.8 release

Flutter 2.8 is live! For details, see Announcing Flutter 2.8 and What’s new in Flutter 2.8.

2021 年 9 月 8 日:2.5 版本发布

Flutter 2.5 is live! For details, see What’s new in Flutter 2.5.

We’ve made significant changes to flutter/website repo to make it easier to use and maintain. If you contribute to this repo, see the README file for more information.

Docs updated or added since the 2.2 release

Articles

We’ve published the following articles on the Flutter Medium publication since the last stable release:


May 18, 2021, Google I/O Edition: 2.2 release

Flutter 2.2 is live! For details, see Announcing Flutter 2.2 and What’s New in Flutter 2.2.

We continue migrating code on the website to use null safety, but that work is not yet completed.

Docs updated or added since the 2.0 release

Codelabs

New codelabs since the last stable release:

Workshops

For Google I/O 2021, we have added a new Flutter/Dart learning tool that is based on DartPad: Workshops! These workshops are designed to be instructor led. The instructor-led videos are available on the Flutter and Firebase YouTube channels:

To see the event list of “all things Flutter” at I/O, see the Google 2021 I/O Flutter page.

You can author your own DartPad workshops! If you are interested, check out the following resources:

Articles

We’ve published the following articles on the Flutter Medium publication since the last stable release:


March 3, 2021, Flutter Engage Edition: 2.0 release

Flutter 2 is live!!! For more information, see Announcing Flutter 2, What’s new in Flutter 2, Flutter web support hits the stable milestone, Announcing Dart 2.12, and the Flutter 2 release notes.

Docs updated or added since the 1.22 release

Codelabs

Many of our codelabs have been updated to null safety. We’ve also added a new codelab since the last stable release:

For a complete list, see Flutter codelabs.

Articles

We’ve published the following articles on the Flutter Medium publication since the last stable release:


Oct 1, 2020: 1.22 release

Flutter 1.22 is live! For details, see Announcing Flutter 1.22.

Docs updated or added to flutter.dev since the 1.20 release

Codelabs

We’ve added a new codelab since the last stable release:

For a complete list, see Flutter codelabs.

Articles

We’ve published the following articles on the Flutter Medium publication since the last stable release:

2020 年 5 月:1.20 发布

Flutter 1.20 版本正式发布!更多信息请参见 Flutter 1.20 发布介绍

flutter.dev 文档更新

dart.dev 增加了深入探索 null safety(空安全)文章:

Codelabs

在 2020 年 6 月 25 日我们举办了 Flutter Day。为了准备这次活动,我们编写了全新的代码实验室并更新了已有的 codelab。最新的 codelab 包括以下内容:

完整列表请查看Flutter 代码实验室

文章

自从上次稳定版发布以来,我们在 Flutter Medium 上发布了一系列文章:

May 6, 2020, Work-From-Home Edition: 1.17 release

Flutter 1.17 is live!

For more information, see Announcing Flutter 1.17.

Docs added and updated since the last announcement include:

Other newness:

2019 年 12 月 11 日, Flutter Interact 版本

Flutter 1.12 正式发布!

更多详细信息请参阅 Flutter:第一个为环境计算设计的 UI 平台宣布 Flutter 1.12 正式发布:太棒的一年! 以及 Flutter 1.12.13 发行注记。

自上次发布以来添加和更新的文档包括:

其他新颖之处:

  • 全新版本的 Flutter Gallery。侧面导航 示例和教程 下有个可运行示例的链接。

祝你在 Flutter 应用的开发中有一个愉快的经历和体验!

Sept 10, 2019: 1.9 release

Flutter 1.9 is live!

For more information, see Flutter news from GDD China: uniting Flutter on web and mobile, and introducing Flutter 1.9 and the 1.9.1 release notes.

For the 1.9 release, Flutter’s web support has been merged (“unforked”) into the main repo. Web support hasn’t reached beta, and is not ready to be used in production. Web and desktop support (which is also coming), will impact the website, which was originally written exclusively for developing Flutter mobile apps. Some website updates are available now (and listed below), but more will be coming.

New and updated docs on the site include:

Other relevant docs:

Happy Fluttering!

July 9, 2019: 1.7 release

Flutter 1.7 正式发布!

请参见 这个文章 了解更多 1.7 的更新内容,在 Flutter wiki 页面 查看 1.7.8 的具体更新。

文档站的更新内容包括:

Flutter 1.7 版本的更新同时加入了 RangeSlider 这个 widget,可以让用户选择在最大值和最小值之间选择一个数字,本周稍晚些时候,在 Flutter 官方博客里可以看到关于这篇文章的介绍和以及如何自定义它,请关注 这里

May 7, 2019, Google I/O Edition: 1.5 release

2019 年 5 月 7 日,Google I/O 版本:1.5 版本发布

Flutter 1.5 发布啦

更多关于此次发布的信息,可以在这里查看 1.5.4 release notes 或者 下载最新版本

我们正在更新 DartPad 以支持 Flutter,可以通过这个新的 codelab Flutter 布局基础教程 来试试看吧。

February 26, 2019: 1.2 release

Flutter released version 1.2 at Mobile World Congress (MWC) in Barcelona. For more information, see the 1.2.1 release notes or download the release.

In addition, here are some recent new and updated docs:

If you have questions or comments about any of these docs, file an issue.

November 5, 2018: new website

Welcome to the revamped Flutter website!

We’ve spent the last few months redesigning the website and how its information is organized. We hope you can more easily find the docs you are looking for. Some of the changes to the website include:

  • Revised front page
  • Revised showcase page
  • Revised community page
  • Revised navigation in the left side bar
  • Table of contents on the right side of most pages

Some of the new content includes:

If you have questions or comments about the revamped site, file an issue.