At Google I / O 2021 today, Google announced the release of Flutter 2.2, the latest version of its open source app development toolkit. And guess what? Microsoft is also expanding its support for Flutter.
“Flutter 2.2 is the best version of Flutter yet, with updates that make it easier than ever for developers to monetize their apps through in-app purchases, payments and ads; to connect to cloud services and APIs that extend applications to support new capabilities; and with language tools and features that allow developers to eliminate a whole class of errors, increase application performance and reduce package sizes, ”says Tim Sneath of Google.
As you would expect, Flutter 2.2 builds on Flutter 2.0, which was released in March with support for building apps on iOS, Android, Windows, macOS, Linux, and the web. New features in Flutter 2.2 include:
New SDK for announcements. The New Ads SDK supports adaptive banner formats and a new payment plugin, created with the Google Pay team, that enables developers to accept payment for physical goods on iOS and Android. There is also an updated in-app purchases plugin and a corresponding codelab.
Dart 2.13. The latest version of Dart extends its native interoperability support, with support for compressed arrays and structures in FFI (Foreign Function Interface), the interface for interacting with legacy C code. It also includes support for type aliases.
Zero sound security is now the default for new projects. Now that the Dart programming language supports NULL security (which adds protection against NULL reference exceptions and application crashes), it will be enabled by default on new projects.
Performance improvement. Web applications can now cache in the background using service workers. Android apps support deferred components. And iOS developers have new tools to precompile shaders to eliminate or reduce first-run janks (Google’s word). The DevTools suite has also picked up a bunch of features that will help developers understand how memory is allocated in their applications, and it now supports third-party tool extensions.
There are now over 200,000 apps created with Flutter in the Google Play Store, and some, like WeChat, can claim billions of users. Samsung is porting Flutter to Tizen with an open source repository, and Sony is working on providing a Flutter solution for embedded Linux. But here’s the biggest news (at least for readers of this site): Microsoft has expanded its collaboration with Google and released an alpha version of Flutter support for Universal Windows Platform (UWP) apps designed for Windows 10. .
You can read more about Flutter on the Flutter website.
Tagged with Flutter, Linux