Developers, when they hear Google is announcing Flutter 2.2, → It’s just been two months, and now again a new update!? Isn’t it growing like a palm tree? Well, Developers feel glad that they have already switched to Flutter, though it won’t be that difficult to migrate to Flutter today.
Flutter developers are on cloud nine. At the I/O conference, the Flutter team confirmed over 200,000 apps created with Flutter alone in the Play Store. More than one in every eight new apps in the Play Store are built with Flutter. Big companies like Shein, BMW, Tencent, and new emerging corporations use Flutter to create the most innovative apps.
In the world, while developers are already migrating to Flutter, Flutter 2.2 update is a joy of joy. With Flutter 2.2 release notes, you get the way out for polishing, optimizing, and improving iOS, Android, Web, and Desktop app performance. Moreover, there are improved text handling, more material icons, automatic scrolling behavior on mobile and desktop, and many exciting features. Further, you may also find new features with a preview state in Flutter 2.2.
So, let us highlight the crazy Flutter 2.2 features Google brings in the Flutter 2.2 release note.
Flutter 2.2 Notable Features
If you feel unlucky about not having Flutter developers, hire Flutter App developers and augment your team. Our Flutter developers have been practicing Flutter since its inception, so you won’t have to worry about anything.
Flutter 2.0 extended the platform support from its roots beyond mobile by enabling web, desktop, and embedded usage. The new update Flutter 2.2 is uniquely designed for making computing ambient, offering a wide variety of device support and form factors for a consistent and enhanced experience.
Flutter 2.2 is to let enterprises and startup entrepreneurs create premium quality solutions. They can optimize the full potential of their market, eliminating target platform limitations, making creativity the priority.
Dart is a secret sauce empowering cross-platform Flutter, also gets updated with new features accompanied by Flutter 2.2. Dart 2.13 brings a couple of new features to its FFI for calling C code, official Docker support, and Google Cloud support for Dart backends. Supplementary, it offers support type aliases to make your code more readable and maintainable.
Check out what else has changed and updated in Dart 2.13 here.
Flutter for the web, the newest stable platform, has also improved with the latest update. Previously, the service worker downloaded updates in the app background while giving users access to the app’s stale version. Thereby, users couldn’t see new changes without refreshing the browser a couple of times.
Now with Flutter 2.2, the service worker is improved with the loading mechanism and double-downloading of main.dart.js. Moreover, they have added support for font features for HTML render and computeLineMetrics for both HTML and CanvasKit. Both the web renders have pretty improved with this new update.
Flutter builds apps adaptive to multiple platforms
Flutter has expanded its stable support for multiple platforms already. With Flutter 2.2, however, you get the support for different input types like touch vs. mouse+keyboard. Meaning, Flutter now lets you tailor screen size, input modes, and expressions of each of those platforms you target. Thereby, there will be no space to differentiate between native and Flutter cross-platform apps.
Haven’t you already started your project in Flutter? Hire a Flutter App Development Company today!
Using Dart’s split AOT compilation feature, the Flutter team has built support for Android apps to download modules ahead-of-time asset and code at runtime. They call these installable splits deferred components. It can significantly reduce the initial app size and enable the download of features and assets when a user needs them.
For iOS, on the other hand, the new update offers new tooling to precompile shaders to remove or reduce the first-run jank. The jank is a result that occurs when the time to compile shaders (a program to be compiled and run on the GPU available on the end user’s device) goes beyond the time frame. Noteworthy, these improvement features of Android and iOS are currently in preview mode.
Null safety by default
Now that Google’s Dart supports null safety, it is enabled by default on every new project. This way, it shortens the span of finding errors and adds protection against app crashes and null reference exceptions.
Though in preview state, Flutter 2.2 adds a little stability to building desktop apps. It supports you to write platform adaptive apps. Moreover, it allows you to run your apps on the desktop while improving tools, widgets during development.
Apart from the web, mobile, and desktop improvements, Flutter 2.2 offers a handful of features in its DevTools. It is added with two memory tracking improvements for developers to understand the app’s memory footprint and where and how it’s allocated.
The first improvement is to track down where an object is allocated and, second, the ability to inject custom messages to the memory timeline. Flutter 2.2 has also enabled support for third-party tool extensions. For a complete list of the cool new features in Flutter DevTool, check out the below links:
Payments and Monetization
Flutter 2.2 is the prominent version of Flutter for developers to monetize their apps through various modes. There is a new payment plugin created with the Google Pay team partnership to simplify payments for physical goods on iOS and Android. The in-app purchases plugin is also updated from beta to production, along with a matching Codelab.
Microsoft finally releases an alpha Flutter support for the Universal Windows Platform (UWP) app built for Windows 10. Plus, Samsung is porting Flutter to its Tizen OS with an open-source repository, whereas Sony is working to create a Flutter solution for embedded Linux.
Then, there are IDE plugins updates, improvements in FlutterFire (Flutter’s Firebase support and collection of plugins), Flutter ecosystem and tooling updates, and a whole lot more. To be honest, Flutter is improving and marking its success with each release. Capturing everything in-depth in a single blog post is next to impossible. Thus, we suggest checking out the Flutter 2.2 official release note.
Principal Mobile App Developer