Flutter 文档网站更新
本页包含了近期的公告以及网站上的更新内容。想要了解每个 Flutter 发布的版本更新内容,你可以在 更新内容归档 页面上查找历史更新信息。还可以查看 Flutter SDK 发布说明 页面。
要及时同步最新 Flutter 公告,包括重大变更 (breaking changes) 等,请加入 flutter-announce 邮件组。
你可以加入 Dart Announce 邮件组或查看 Dart 更新日志 了解 Dart 的更新内容。
11 December 2024: 3.27 release
#Flutter 3.27 is live! For more information, check out the Flutter 3.27 umbrella blog post and the Flutter 3.27 technical blog post. You might also check out the Dart 3.6 release blog post.
Docs updated or added since the 3.24 release
This website release includes several important updates!
-
The Flutter AI Toolkit is launched! You'll find the docs on the website in the side navigation menu under App solutions > AI and at Flutter AI Toolkit.
-
For a long time now, we have been asked to create more guidance for developers who write large-scale, complex Flutter apps. Well, that work has begun: introducing Architecting Flutter apps! This section includes eight new pages about architecting Flutter apps, including a Design patterns page that has six recipes for common design patterns that you might find useful.
-
We've added more information about Support for WebAssembly (Wasm).
-
We've also reworked the Web renderers page to cover the two build modes for web and its two renderers.
-
Impeller is now the default rendering engine for iOS and Android. We've also added a link from the Impeller page to the detailed Can I use Impeller? page.
-
For developers interested in monetization, we have introduced a new Interactive Media Ads package. You can find it through the website in the side navigation menu under App solutions > Monetization > Advertising. Also, check out the Video & web app support in Flutter blog post.
-
We have new docs for using Flutter with Android, specifically, Launching a Jetpack Compose activity from your Flutter application and Calling JetPack APIs.
-
Work continues on the Learn the fundamentals pages (formerly called the First Week Experience). Besides updates to several pages, check out the new Intro to Dart page.
-
Further support and updated docs for the Swift Package Manager. Specifically, you can now build on the stable channel for SPM, however, plugins will continue to be installed using CocoaPods as the SwiftPM feature remains unavailable on the stable channel: Swift Package Manager for plugin authors and Swift Package Manager for app authors.
-
The Deep linking validator tool, part of DevTools, now works for both iOS and Android.
-
Also, don't forget to check out the breaking changes page for this release. That's also where you'll find useful migration info.
07 August 2024: I/O Connect Beijing 3.24 release
#Flutter 3.24 is live! For more information, check out the Flutter 3.24 umbrella blog post and the Flutter 3.24 technical blog post. You might also check out the Dart 3.5 release blog post.
Docs updated or added since the 3.22 release
This website release includes several important updates!
- An updated widget catalog:
- Added 37 missing widgets to the Cupertino catalog,
and a new screenshot for the updated
CupertinoActionSheet
widget. - Added the new
CarouselView
widget. CupertinoButton
andCupertinoTextField
also have updated behaviors.
- Added 37 missing widgets to the Cupertino catalog,
and a new screenshot for the updated
- New guides on adding support for Swift Package Manager to iOS plugins and iOS apps. (Note that, until all of your app's dependencies are migrated, Flutter will continue to use CocoaPods.)
- Updated web docs:
- Embedding Flutter on the web, including how to enable multi-view mode
- Embedding web content into a Flutter app
- Update for Android 14: If you are using an Android device that runs on Android 14, you can now support Android's predictive back gesture.
- Updates for iOS 18:
The iOS 18 release is in beta at the time of this release.
These iOS 18 features are already enabled in Flutter
and are now mentioned in the docs:
- Use an iOS app extension in your Flutter app to create a custom toggle. Your users can then add your app's toggle when customizing their Control Center.
- Tinted app icons are supported
- Two pages of the Flutter fundamentals docs are updated:
- DevTools also has updates. Check out the release notes for DevTools 2.35.0, DevTools 2.36.0, and DevTools 2.37.2.
Other
- If you are interested in the new, experimental Flutter GPU API, check out the Flutter GPU blog post.
- The Flutter wiki has been divided up and moved into the relevant GitHub repos, making it easier to keep that info up to date.
除非另有说明,本文档之所提及适用于 Flutter 的最新稳定版本,本页面最后更新时间: 2024-12-24。 查看文档源码 或者 为本页面内容提出建议。