Flutter 2.0 Increases Web Support
Written by Kay Ewbank   
Monday, 08 March 2021

Flutter 2.0 has been released. The new version adds support for web development and, according to Google, lets developers start not with the platform an app is targeted at, but rather with the experience the developer wants to create.

Flutter is Google's open source mobile UI framework that until now has provided a way to create native interfaces on iOS and Android. It is a combination of Google's Dart programming language and a runtime environment that is referred to as an app engine in Flutter.

flutter

Google  says that Flutter is no longer a mobile framework, it's now a portable framework that you can use to create apps to run on multiple devices and platforms without having to change your code (much).

flutter2

With this in mind, the main improvement in Flutter 2 is support for the web, specifically including platform APIs that support hardware-accelerated 2D and 3D graphics and flexible layout and paint APIs. The full list of technical improvements has been covered in detail in a technical blog on Flutter 2.

This release of Flutter focuses on three types of app: progressive web apps (PWAs) that "combine the web’s reach with the capabilities of a desktop app"; single page apps (SPAs) that load once and transmit data to and from internet services; and the means to bring existing Flutter mobile apps to the web, so code is shared for both environments.

To achieve this, Google has worked on performance optimization, adding a new CanvasKit-powered rendering engine built with WebAssembly.  The developer have also added text autofill, control over address bar URLs and routing, and PWA manifests. The team has also added interactive scrollbars and keyboard shortcuts, increased the default content density in desktop modes, and added screen reader support for accessibility on Windows, macOS, and Chrome OS.

Google has also released a beta version of Google Mobile Ads for Flutter, a new SDK that works with AdMob and AdManager to offer a variety of ad formats, including banner, interstitial, native, and rewarded video ads. 

Alongside the improvements in the new version, Google announced three partnerships showing how Flutter is becoming more mainstream. Canonical has worked with Google on moving Flutter to the desktop, and is making Flutter is the default choice for future desktop and mobile apps created by Canonical.

Microsoft is also expanding its support for Flutter, with both a collaboration with Google to offer "high-quality" Windows support in Flutter, and Microsoft contributions to the Flutter engine that support the foldable Android devices. Apps on foldable devices can either expand content or provide "side-by-side" experiences.

The third partnership sees car-maker Toyota using Flutter to build its in-car infotainment systems. Google says Toyota chose Flutter because of its high performance and consistency of experience, fast iteration and developer ergonomics as well as smartphone-tier touch mechanics.

flutter

More Information

Technical Blog on Flutter 2

Flutter 2

Related Articles

Flutter Adds Windows Support

Flutter Takes Off

Flutter 1.17 Released

LinkedIn Claims Flutter is Fastest Growing Skill For Software Engineers

All A Flutter - Google's Cross Platform App Framework Ready To Go

Google's Dart Reborn As Cross Platform App Language 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Pico 2W Announced But There Is A Surprise!
25/11/2024

Raspberry Pi released the Pico 2 a few months ago and we have been waiting for the Pico 2W since then. But Pimoroni beat them to the draw with the Pico Plus 2W based on the RM2 radio module and hinted [ ... ]



Kafka 3.9 Adds Dynamic KRaft Quorums
16/12/2024

Kafka 3.9 has been released. The team says this is a major release and the final in the 3.x line. It This will also be the final major release to feature the deprecated Apache ZooKeeper mode. Kafka is [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info