翻译自 Tim Sneath 2022 年 5 月 12 日的文章 《Introducing Flutter 3》
作者 : Tim Sneath
The Wolf at the End of the Desert
链接 : Introducing Flutter 3(英文原文)
Our journey of multi-platform UI development on mobile, desktop and website development has reached its peak.
We are pleased to announce the launch of Flutter 3 as part of the Google I/O keynote. Flutter 3 completes our roadmap from a mobile-centric to a multi-platform framework, providing support for macOS and Linux desktop applications, as well as improvements to Firebase integration, new productivity and performance features, and support for Apple Silicon.

Flutter 3 Tour
We created Flutter to revolutionize application development: combining the Web's iterative development model with hardware-accelerated graphics rendering and pixel-level control, patents of previous games. Over the past four years since Flutter 1.0 beta was released, we have gradually built on these foundations, adding new framework features and new widgets, deeper integration with the underlying platform, rich packages (libraries), and many performance and tool improvements.

随着产品的成熟,越来越多的人开始使用它构建应用程序。 如今,有超过 500,000 个使用 Flutter 构建的应用程序。 来自 data.ai 等研究公司的分析以及公开推荐表明,Flutter 被许多细分市场的广泛客户使用:从微信等社交应用程序到 Betterment 和 Nubank 等金融和银行应用程序; 从 SHEIN 和 trip.com 等商务应用到 Fastic 和 Tabcorp 等生活方式应用; 从 My BMW 等配套应用程序到巴西政府等公共机构。
Today, more than 500,000 applications are built using Flutter.
** Webmaster's note: Here is a video https://youtu.be/8RmsstcNE1Y**

Developers tell us that Flutter helps build beautiful apps faster for more platforms. In our recent user research:
- 91% of developers agree that Flutter reduces the time needed to build and release applications.
- 85% of developers agree that Flutter makes their apps more beautiful than before.
- 85% of developers agree this allows them to publish their apps for more platforms than before.
在 Sonos 最近的一篇博客文章中讨论了他们改进的设置体验,他们强调了其中的第二个:
"It's no exaggeration to say that [Flutter] unlocks a certain level of" premium "that's unlike anything our team has previously offered. The most important thing for our designers is that new UIs can be easily built, which means our team spends less time saying "no" to specifications and more time iterating specifications. If it sounds worth it, we suggest giving Flutter a try-and we're glad we did."
Introducing Flutter 3
Today, we introduce Flutter 3, the culmination of our journey to fill Flutter supports platforms. With Flutter 3, you can build wonderful experiences for six platforms from one code base, providing developers with unmatched productivity and allowing startups to bring new ideas to their full target markets from the beginning.
在之前的版本中,我们通过 Web 和 Windows 支持补充了 iOS 和 Android,现在 Flutter 3 增加了对 macOS 和 Linux 应用程序的稳定支持。 添加平台支持需要的不仅仅是渲染像素:它包括新的输入和交互模型、编译和构建支持、可访问性和国际化以及特定于平台的集成。 我们的目标是让您能够灵活地充分利用底层操作系统,同时根据您的选择共享尽可能多的 UI 和逻辑。
在 macOS 上,我们投入支持 Intel 和 Apple Silicon,提供通用二进制支持,允许应用打包在两种架构上本地运行的可执行文件。 在 Linux 上,Canonical 和 Google 合作提供了一个高度集成的、同类最佳的开发选项。
Superlist 是 Flutter 如何实现漂亮桌面体验的一个很好的例子,它今天推出了测试版。 Superlist 通过将列表、任务和自由形式的内容组合成全新的待办事项列表和个人计划的新应用程序,提供超强协作。 Superlist 团队之所以选择 Flutter,是因为它能够提供快速、高度品牌化的桌面体验,我们认为他们迄今为止的进展证明了为什么它已被证明是一个不错的选择。
** Webmaster's note: Here is a video https://youtu.be/YRuQj7mlH2I**

Flutter 3 also improves many basics, improves performance, supports Material You, and updates productivity.
除了上面提到的工作,在这个版本中,Flutter 可以完全原生的在 Apple 芯片上进行开发。 虽然 Flutter 自发布以来一直与 M1 驱动的 Apple 设备兼容,但 Flutter 现在充分利用了 Dart 对 Apple 芯片的支持,从而可以在 M1 驱动的设备上更快地编译并支持 macOS 应用程序的通用二进制文件。
我们对 Material Design 3 的工作在此版本中基本完成,使开发者能够利用一个适应性强、跨平台的设计系统,提供动态的色彩方案和更新的视觉组件。

Our detailed technical blog post expands on these and many other new features in Flutter 3.
Flutter 由 Dart 提供支持,Dart 是一种用于多平台开发的高生产力、可移植语言。 我们在这个周期中对 Dart 的工作包括减少模板和提高可读性的新语言功能、实验性 RISC-V 支持、升级的 linter 和新文档。 有关 Dart 2.17 中所有新改进的更多详细信息,请查看专用博客。
Firebase and Flutter
当然,构建应用程序不仅仅是 UI 框架。应用程序发布者需要一整套工具来帮助您构建、发布和操作您的应用程序,包括身份验证、数据存储、云功能和设备测试等服务。有多种服务支持 Flutter,包括 Sentry、AppWrite 和 AWS Amplify。
Google 提供的应用服务是 Firebase,SlashData 的开发者基准测试研究表明,62% 的 Flutter 开发者在他们的应用中使用 Firebase。因此,在过去的几个版本中,我们一直在与 Firebase 合作,以扩展和更好地将 Flutter 集成为一流的集成。这包括将 Flutter 的 Firebase 插件引入 1.0,添加更好的文档和工具,以及 FlutterFire UI 等新小部件,为开发人员提供可重用的身份验证和配置文件界面 UI。
Today, we announced an upgrade to the Flutter/Firebase integration as a fully supported core part of the Firebase product. We are moving source code and documentation to major Firebase repositories and sites, and you can count on us to develop Firebase's support for Flutter in sync with Android and iOS.
此外,我们还进行了重大改进,以支持使用 Crashlytics 的 Flutter 应用程序, 这是 Firebase 流行的实时崩溃报告服务 。通过 Flutter Crashlytics 插件的更新,您可以实时跟踪致命错误,为您提供与其他 iOS 和 Android 开发人员相同的功能集。这包括重要的警报和指标,如“无崩溃用户”,可帮助您掌握应用程序的稳定性。 Crashlytics 分析管道已升级以改进 Flutter 崩溃的聚类,从而更快地对问题进行分类、优先排序和修复问题。最后,我们简化了插件设置过程,因此只需几个步骤即可从您的 Dart 代码中启动和运行 Crashlytics。
Flutter Casual Games Toolkit
对于大多数开发者来说,Flutter 是一个应用程序框架。 但是,围绕休闲游戏开发的社区也在不断壮大,利用 Flutter 提供的硬件加速图形支持以及 Flame 等开源游戏引擎。 我们希望让休闲游戏开发者更容易上手,因此在今天的 I/O 大会上,我们宣布推出休闲游戏工具包,它提供了模板和最佳实践的入门工具包以及广告和云服务的良好体验。

尽管 Flutter 并非专为高强度 3D 动作游戏而设计,但即使其中一些游戏已经转向 Flutter 的非游戏 UI,包括拥有数亿用户的热门游戏,如 PUBG Mobile。 对于 I/O,我们想看看我们可以将我们的技术推到多远,所以我们创建了一个有趣的弹球游戏,由 Firebase 和 Flutter web 提供支持。 I/O Pinball 提供了一个围绕 Google 最喜欢的四个吉祥物设计的自定义桌子:Flutter 的 Dash、Firebase 的 Sparky、Android 机器人和 Chrome 恐龙,并让您与其他人竞争高分。 我们认为这是展示 Flutter 多功能性的一种有趣方式。

Sponsored by Google, supported by the community
One thing we like about Flutter is that it's not just a Google product-it's a "everyone's" product. Open source means we can all participate and benefit from its success, whether by contributing new code or documentation, creating software packages that give the core framework a new superpower, writing books and training courses to teach others, or helping organize events and user groups.
To showcase the community's best, we recently partnered with DevPost to sponsor the Puzzle Hack Challenge, giving developers the opportunity to showcase their skills by using Flutter to reimagine classic sliding puzzles. This proves a wonderful demonstration of how the web, desktop and mobile come together: Now we can all play games online or through stores.
** Webmaster's note: Here is a video https://youtu.be/l6hw4o6_Wcs**

Thank you for your support of Flutter and welcome to Flutter 3!
Closing benefits
This is an online learning Flutter website collected by the webmaster. I hope it will be useful to everyone:
