Flutter 2.2 unveiled at Google I/O 2021 with monetization plugin

Get a free Techzine subscription!

Flutter is an open-source UI software development kit used to develop apps across Google Fuschia, Windows, Mac, Linux, iOS, and Android using a single code base. Google launched Flutter 2.2 at Google I/O 2021. The new version comes with a payment plugin to include Google Pay on both iOS and Android apps.

Developers can also add new ad formats using Google Mobile Ads SDK. In addition to that, Flutter 2.2. also comes with a leaner approach to bring apps to desktop operating systems like Linux, macOS, and Windows. Flutter 2.0 was about connecting mobile apps and desktop as well as web and embedded apps but v2.2 has different goals.

Flutter 2.2

V2.2 is all about monetization and deepening integration with cloud services. Flutter is now a widely-used framework for cross-platform developers. Some of the enterprises using Flutter include ByteDance, Grab, BMW, WeChat, and SHEIN, among others.

Google reported that the Flutter platform is gaining traction and seeing advancements driven by partners like Adobe, Samsung, and Microsoft. Microsoft’s Surface team is working on a foldable Flutter experience.

As part of that project, the Surface team has launched an Alpha of Flutter support to be used in UWP apps developed for Windows 10.

The updates

Flutter version 2.2’s most notable highlights include:

  • Enhancements in performance with deferred components and background caching for Android. iOS has received tooling to ensure fewer first-run errors.
  • The DevTools suite has memory allocation tracking and third-party tool extensions.
  • The developer stack has been integrated with a new ads SDK and a payment plugin to facilitate payment for physical goods on Android and iOS.
  • Support for native interoperability using Dart 2.13 has been broadened and now includes support for a Docker image for business logic and GitHub Actions.