文件網站更新內容歸檔
- Jan 25, 2023, Flutter Forward edition: 3.7 release
- Aug 31, 2022, Flutter Vikings Edition: 3.3 release
- May 11, 2022, Google I/O Edition: Flutter 3 release
- Feb 3, 2022, Windows Support: 2.10 release
- December 8, 2021: 2.8 release
2021 年 9 月 8 日:2.5 版本釋出
- May 18, 2021, Google I/O Edition: 2.2 release
- March 3, 2021, Flutter Engage Edition: 2.0 release
- Oct 1, 2020: 1.22 release
2020 年 5 月:1.20 釋出
- May 6, 2020, Work-From-Home Edition: 1.17 release
2019 年 12 月 11 日, Flutter Interact 版本
- Sept 10, 2019: 1.9 release
- July 9, 2019: 1.7 release
- May 7, 2019, Google I/O Edition: 1.5 release
- February 26, 2019: 1.2 release
- November 5, 2018: new website
該歸檔包含了歷史公告,以及網站上的更新內容。想要了解每個 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.
Docs updated or added since the 3.3 release
- Learn about improvements for the web platform;
for example, you can now pass configuration
information to the engine in the
initializeEngine
method. For more information, check out Customizing web app initialization. - Creating Flavors for Flutter Learn how to create a flavor in Flutter (also known as a build configuration in iOS).
- Internationalization support has been revamped and the Internationalizing Flutter apps page is updated.
- The DevTools memory debugging tool has been completely overhauled and the corresponding page, Using the memory view, is rewritten.
- This release includes numerous improvements to Flutter’s support for custom fragment shaders. For more information, see the new Writing and using fragment shaders page.
- Some security tools falsely report security vulnerabilities in Flutter apps. The new Security false positives page lists the known false positives and why you can ignore them.
- You can now invoke a platform channel from any isolate, including background isolates. For more information, check out Writing custom platform-specific code and the Introducing isolate background channels article on Medium.
- We’ve updated our Swift documentation.
New and updated pages include:
- Flutter for SwiftUI developers - updated
- Add a Flutter screen to an iOS app - updated for SwiftUI
- Flutter concurrency for Swift developers - new
- Learning Dart as a Swift developer on dart.dev - new
- As of Xcode 14, Apple no longer supports bitcode. Two of our pages, Adding an iOS clip target and the Flutter FAQ, are updated to reflect this fact.
- For developers who enjoy living on the bleeding edge, you might want to try Flutter’s future rendering engine, Impeller. Because Impeller isn’t yet ready for a stable release, you can find more information on our Flutter GitHub wiki.
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:
- How it’s made: Holobooth
- Playful typography with Flutter
- Material 3 for Flutter
- Introducing background isolate channels
- How can we improve the Flutter experience for desktop?
- What we learned from the Flutter Q3 2022 survey
- Supporting six platforms with two keyboards
- Studying developer’s usage of IDEs for Flutter development
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
andRouter
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 customZone
. 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:
- Take your Flutter app from boring to beautiful Learn how to use features in Material 3 to make your more beautiful and more responsive.
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
- A new page on Using Actions and Shortcuts.
Articles
We’ve published the following articles on the Flutter Medium publication since the last stable release:
- Raster thread performance optimization tips
- Writing a good code sample
- GSoC’21: Creating a desktop sample for Flutter
- Flutter Hot Reload
- What can we do to better improve Flutter?
- Adding Flutter to your existing iOS and Android codebases
- Google I/O Spotlight: Flutter in action at ByteDance
- Improving Platform Channel Performance in Flutter
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
- A new page on Building adaptive apps.
- A new page describing how to use Google APIs with Flutter.
- A new landing page for Embedded Support for Flutter.
- A new page on setting up and using Deferred components on Android.
- Significant updates to the DevTools Memory view page.
- The desktop page is updated to reflect the progress on desktop support, particularly the new support for Windows UWP.
Codelabs
New codelabs since the last stable release:
- Adding in-app purchases to your Flutter app
- Build Voice Bots for Android with Dialogflow Essentials & Flutter
- Get to know Firebase for Flutter
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:
- Building your first Flutter app
- Firebase for Flutter
- Flutter and Dialogflow voice bots
- Inherited widgets
- Null safety
- Slivers
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:
- DartPad Workshop Authoring Guide
- DartPad Sharing Guide (using a Gist file)
- Embedding DartPad in your web page
Articles
We’ve published the following articles on the Flutter Medium publication since the last stable release:
- How It’s Made: I/O Photo Booth
- Which factors affected users’ decisions to adopt Flutter? - Q1 2021 user survey results
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
- A new Who is Dash? page!
- Information about monetizing your apps has been collected in the new Flutter Ads landing page.
- Added a new page explaining the Flutter Fix feature and how to use it.
- New and updated web pages, including:
- The Desktop support for Flutter page is updated, as well as other pages on the site that discuss desktop support.
- The DevTools docs have been updated. The most significant updates are to the following page:
- Added a page on how to implement deep linking for mobile and web.
- Updated the Creating responsive and adaptive apps page.
- Many pages (including all codelabs on flutter.dev) and examples are updated to be null safe.
- Added two new add to app pages:
- Added a page on how to write integration tests using the integration_test package.
- Significant updates to the internationalization page.
- New and updated performance pages, including:
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:
- Flutter performance updates in the first half of 2020
- Are you happy with Flutter? - Q4 2020 user survey results
- Join us for #30DaysOfFlutter
- Providing operating system compatibility on a large scale
- Updates on Flutter Testing
- Announcing Dart null safety beta
- Deprecation Lifetime in Flutter
- New ad formats for Flutter
- Accessible expression with Material Icons and Flutter
- Dart sound null safety: technical preview 2
- Flutter on the web, slivers, and platform-specific issues: user survey results from Q3 2020
- Testable Flutter and Cloud Firestore
- Performance testing on the web
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
- Updated the Developing for iOS 14 page with details about targeting iOS 14 with Flutter, including some Add-to-App, deep linking, and notification considerations.
- Added a page on how to add an iOS App Clip, a new iOS 14 feature that supports running lightweight, no-install apps under 10 MB.
- Added a page that describes how to migrate your app to use the
new icon glyphs available in
CupertinoIcons
. - Added a page that describes the new implementation for Platform Views and how to use them to host native Android and iOS views in your Flutter app. This feature has enabled the google_maps_flutter and webview_flutter plugins to be updated to production-ready release 1.0.
- Added a page that describes how to use the new App Size tool in Dart DevTools.
Codelabs
We’ve added a new codelab since the last stable release:
-
Building Beautiful Transitions with Material Motion
for Flutter
Learn how to use the Material animations package to add prebuilt transitions to a Material app called Reply.
For a complete list, see Flutter codelabs.
Articles
We’ve published the following articles on the Flutter Medium publication since the last stable release:
- Learning Flutter’s new navigation and routing
- Integration testing with flutter_driver
- Announcing Flutter Windows Alpha
- Handling web gestures in Flutter
- Supporting iOS 14 and Xcode 12 with Flutter
- Learn testing with the new Flutter sample
- Platform channel examples
- Updates on Flutter and Firebase
2020 年 5 月:1.20 釋出
Flutter 1.20 版本正式釋出!更多資訊請參見 Flutter 1.20 釋出介紹。
flutter.dev 文件更新
-
減少移動裝置上的著色器(shader)掉幀問題 文件已新增到效能章節中。
-
在 iOS 14 beta 上進行開發 介紹了一些你在 iOS 14 beta 開發中可能會遇到的一些問題。
-
使用 snaped 在 Linux 安裝 Flutter 應用 提供了最新介紹。
-
更新了 桌面支援 介紹頁面, Linux 桌面應用(以及 macOS)已經進入 alpha 階段。
-
多本全新 Flutter 書籍正式出版。更新了 Flutter 書籍頁面。
-
更新了程式碼實驗室主頁。
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:
- Added a new page on Understanding constraints, contributed by Marcelo Glasberg, a Flutter community member.
- The animations landing page has been re-written. This page now includes the animation decision tree that helps you figure out which animation approach is right for your needs. It also includes information on the new package for pre-canned Material widget animations.
- The hot reload page has been re-written. We hope you find it to be clearer!
- The Desktop page has been updated and now includes information on setting up entitlements and using the App Sandbox on macOS.
- The plugin docs are updated to cover the new Android Plugin APIs and also to describe Federated Plugins. Affected pages include:
- Added an Obfuscating Dart code page. (Moved from the wiki and updated as of 1.16.2.)
- Added a page on using Xcode 11.4 and how to manually update your project. The tooling, which automatically updates your configuration when possible, may direct you to this page if it detects that it’s needed.
- Added a page on Managing plugins and dependencies in add-to-app when developing for Android.
Other newness:
- We’ve published a number of articles on the Flutter Medium
publication since the last stable release:
- Custom implicit animations in Flutter…with TweenAnimationBuilder
- Directional animations with build-in explicit animations
- When should I use AnimatedBuilder or AnimatedWidget?
- Improving Flutter with your opinion - Q4 2019 survey results
- How to write a Flutter web plugin, Part 2
- It’s Time: The Flutter Clock contest results
- How to float an overlay widget over a (possibly transformed) UI widget
- How to embed a Flutter application in a website using DartPad
- Flutter web: Navigating URLs using named routes
- How to choose which Flutter animation widget is right for you?
- Announcing a free Flutter introductory course
- Announcing CodePen support for Flutter
- Animation deep dive
- Flutter Spring 2020 update
- Introducing Google Fonts for Flutter v 1.0.0!
- Flutter web support updates
- Modern Flutter plugin development
2019 年 12 月 11 日, Flutter Interact 版本
Flutter 1.12 正式釋出!
更多詳細資訊請參閱 Flutter:第一個為環境計算設計的 UI 平台, 宣佈 Flutter 1.12 正式釋出:太棒的一年! 以及 Flutter 1.12.13 發行註記。
自上次釋出以來新增和更新的文件包括:
-
為配合最新版「新增到現有應用」的實現,我們添加了有關如何 將 Flutter 新增到現有應用中 的文章,同時適用於 iOS 和 Android。
-
如果您擁有外掛程式碼,我們建議您更新到適用於 Android 外掛的新的 API。有關更多資訊,請參閱 將您的外掛遷移到新的 Android API。
-
Web 支援已進入 Beta 頻道,想要檢視更多的資訊,請參閱 Flutter 的 Web 支援 和 Flutter 的 Web 支援變為 beta。此外,使用 Flutter 建構 Web 應用程式 頁面也已更新。
-
全新的 編寫你的第一個 Flutter Web 應用 codelab 已新增到 使用入門 文件中,其中包括在 DevTools 中設定斷點的說明。
-
我們推出了一個計劃以介紹特定 Dart 或者 Flutter package 或外掛。請在 Flutter Favorite 專案計劃中 檢視更多資訊。
-
新的 隱含動畫 codelab 釋出啦,它還帶有 DartPad。(直接執行它,你無需下載任何軟體!)
-
現在可以在主頻道和開發者頻道上釋出的 1.13 版獲得對 MacOS(桌面)的 Alpha 支援。有關更多資訊,請參見 Flutter 的桌面支援。
-
iOS 頁面的 app size 部分已更新,包含 bitcode。
-
Flutter Layout Explorer 的 Alpha 版本,一項新功能(以及 Flutter inspector 的一部分),你可以探索您的佈局的視覺化表示形式。有關更多資訊,請參看 探索 Flutter 中的佈局 文件。
其他新穎之處:
-
全新版本的 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:
- We’ve revamped the Showcase page.
- The Flutter layout codelab has been rewritten and uses the updated DartPad, the browser-based tool for running Dart code. DartPad now supports Flutter! Try it out and let us know what you think.
- A new page on using the dart:ffi library to bind your app to native code (a feature currently under development).
- The Performance view tool, which allows you to record and profile a session from your Dart/Flutter application, has been enabled in DevTools. For more information, see the Performance view page.
- A new page on building a web application.
- A new page on creating responsive apps in Flutter.
- A new page on preparing a web app for release.
- A new web FAQ.
- The Flutter for web page is updated.
Other relevant docs:
- Error messages have been improved in SDK 1.9. For more information, read Improving Flutter’s Error Messages on the Flutter Medium publication.
- If you already have a web app that depends on the flutter_web package, the following instructions tell you how to migrate to the flutter package: Upgrading from package:flutter_web to the Flutter SDK.
- A new
ToggleButtons
widget, described in the API docs. ToggleButtons demo - A new
ColorFiltered
widget, also described in the API docs. ColorFiltered demo - New behavior for the
SelectableText
widget.
Happy Fluttering!
July 9, 2019: 1.7 release
Flutter 1.7 正式釋出!
請參見 這個文章 瞭解更多 1.7 的更新內容,在 Flutter wiki 頁面 檢視 1.7.8 的具體更新。
文件站的更新內容包括:
-
打套件和釋出到 Android 平台 有更新,包括使用 app bundle 和為 32 位 / 64 位單獨打套件。
-
新增 開發者工具文件 系列內容,這是個基於瀏覽器的開發者工具套件,可以幫助你對 Flutter 和 Dart 應用做除錯、效能監控、記憶體檢測和檢查器等,同時可以直接從 Android Studio 或 IntelliJ 以及 VSCode 執行,如果你還沒有試試看,推薦你看一下。
-
簡單的應用狀態管理 頁面有所更新,新的文件是基於 Provider 3.0 正式版的。
-
實用課程 裡添加了一篇新的文章: 為頁面切換加入動畫效果。
-
除錯 Flutter 應用、 Flutter 的建構模式選擇、 Flutter 應用效能最佳化最佳實踐 和 Flutter 效能分析 頁面中加入了開發者工具的使用說明。與此同時,還加入了這個文件頁面: 新增程式碼的方式來除錯。
Flutter 1.7 版本的更新同時加入了 RangeSlider
這個 widget,可以讓使用者選擇在最大值和最小值之間選擇一個數字,本週稍晚些時候,在 Flutter 官方部落格裡可以看到關於這篇文章的介紹和以及如何自訂它,請關注 這裡。
May 7, 2019, Google I/O Edition: 1.5 release
2019 年 5 月 7 日,Google I/O 版本: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:
- We’ve updated our state management advice. New pages include an introduction, thinking declaratively, ephemeral vs app state, simple app state management, and different state management options. Documenting state management is a tricky thing, as there is no one-size-fits-all approach. We’d love your feedback on these new docs!
- A new page on Performance best practices.
- Also at MWC, we announced a preview version of the new Dart DevTools for profiling and debugging Dart and Flutter apps. You can find the docs on the DevTools wiki (Note: since moved to this site.) In particular, check out the DevTool’s widget inspector for debugging your UI, or the timeline view for profiling your Flutter application. Try them out and let us know what you think!
- An update to the Performance profiling page that incorporates the new Dart DevTools UI.
- Updates to the Android Studio/IntelliJ and VS Code pages incorporating info from the new Dart DevTools UI.
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:
- Deep dive on Flutter internals, Inside Flutter
- Technical videos
- State management
- Background Dart processes
- Flutter’s build modes
If you have questions or comments about the revamped site, file an issue.