Version 2 of Google’s Flutter toolkit adds support for desktop and web apps – TechCrunch

On An online event, Google announced today Flutter 2The latest version of its open-source UI toolkit for building portable applications. While Flutter started with a focus on mobile when it first launched two years ago, it spread its wings in recent years and with version 2, Flutter now supports web and desktop apps out of the box. With this, Flutter users can now use the same codebase to create apps for iOS, Android, Windows, MacOS, Linux, and the web.

“The great thing is that the major version justifies the number change, of course, the availability of web and desktop support,” pulsing product lead Tim Sneath told me. “And this is just a fairly deep axis. It is rare for products that you suddenly have all these additional endpoints. “

Image Credit: Google

He said that due to the open-source nature of Flutter, web and desktop support was for some time “cooking in the open”, so the addition of these endpoints is not surprising. There is a lot of work involved in getting these new platforms ready for the 2.0 release, to perform at par with these new platforms.

It’s worth noting, however, that Flutter desktop support is behind an early-release flag in Flutter’s stable release channel and Google says developers should think of it as a “beta snapshot”. However, web support has transitioned from beta to static and has become just another target for building apps with flutter.

Image Credit: Google

On the web platform, in particular, Sneath noted that the team intentionally started with a very standard, DOM-centric approach. But when it worked fine, it meant that the performance was held back by it, especially for more advanced features. During the past year, the team has created what is known as a canvas kit. This WebAssembly-based project is similar Scia graphics engine Which empowers and makes available to Android and Chrome For web application.

“This means that we can now bypass basic HTML – like the document-centric parts of the web platform – and actually leave the app-centric parts of the web platform without leaving [behind] Things like auto-complete text or passwords and everything that makes the web feel very unique, ”said Sneeth.

Image Credit: Google

On desktops, Google is announcing that Canonical is going all flutter and making it the default choice of all its future desktop and mobile apps.

Microsoft is expanding its support for Flutter and working with Google on Google support for Flutter. Given Microsoft’s interest in Android, it’s probably not a big surprise, and in fact, today is Microsoft Release contribution to the pulsing engine To help support foldable Android devices.

In total, Flutter and Dart now have more than 15,000 packages from companies such as Google Note, Amazon, Microsoft, Adobe, Huawei, Alibaba, eBay and Square.

As usual, this update also has dozens of small update flutters.

Looking ahead, Sneath mentioned that the Flutter team planned to spend more time on Flutter as a framework for embedded devices and some other non-traditional platforms. He also said that the team is interested in how a flutter power ambient can help computing experiences.

“As we think about the ambient computing world where these are the main premises behind the ambient computing aspects – such as: can it be easily discovered? Can people make money from the apps they create and do in a responsible way? We are building support for those types of services. Better analytics, better ad frameworks, connectivity across things like Firebase and Google Cloud so that people can’t take advantage of the flutter, but the comprehensive ecosystem services Google provides, ”explained Sneath.