LOGO

version 2 of google’s flutter toolkit adds support for desktop and web apps

AVATAR Frederic Lardinois
Frederic Lardinois
Editor
March 3, 2021
version 2 of google’s flutter toolkit adds support for desktop and web apps

Flutter 2: Expanding Beyond Mobile

During a recent online event, Google unveiled Flutter 2, the latest iteration of its open-source UI toolkit designed for creating applications that can run on multiple platforms. Initially focused on mobile development upon its launch two years ago, Flutter has broadened its capabilities. Now, with version 2, it natively supports web and desktop application development.

Unified Codebase for Multiple Platforms

This advancement allows developers utilizing Flutter to employ a single codebase for building applications compatible with iOS, Android, Windows, MacOS, Linux, and the web. This represents a significant step forward in cross-platform development efficiency.

According to Tim Sneath, Flutter product lead, the inclusion of web and desktop support is the primary justification for the major version number update. He described it as a “profound pivot,” noting that it’s uncommon for a product to suddenly gain support for so many additional platforms.

The development of web and desktop support has been transparent due to Flutter’s open-source nature. Much effort was dedicated to optimizing performance on these new platforms to ensure a smooth user experience.

Desktop and Web Support Status

While web support has transitioned from beta to stable and is now a standard build target, Flutter’s desktop support remains behind an early-release flag within the stable channel. Google advises developers to consider desktop support as a “beta snapshot” at this time.

The web platform implementation initially adopted a standard, DOM-centric approach. However, this approach limited performance, particularly for complex features. To address this, the team developed Canvas Kit.

Canvas Kit and WebAssembly

Canvas Kit, a WebAssembly-based project, brings the Skia graphics engine – the same engine powering Android and Chrome – to web applications. This allows Flutter to bypass the traditional HTML structure and leverage the app-centric capabilities of the web platform.

Sneath explained that this allows the preservation of essential web features like auto-completion for text and passwords, while still delivering a high-performance application experience.

Industry Support and Ecosystem Growth

Google announced that Canonical is fully committed to Flutter, designating it as the default choice for all future desktop and mobile applications. Furthermore, Microsoft is expanding its Flutter support and collaborating with Google on Windows compatibility.

This collaboration is unsurprising given Microsoft’s existing interest in Android. Microsoft is also releasing contributions to the Flutter engine to enhance support for foldable Android devices.

Currently, the Flutter and Dart ecosystems boast over 15,000 packages from prominent companies including Amazon, Microsoft, Adobe, Huawei, Alibaba, eBay, and Square.

Future Directions

Looking forward, the Flutter team intends to focus on expanding Flutter’s capabilities for embedded devices and other unconventional platforms. They are also exploring how Flutter can contribute to ambient computing experiences.

Sneath highlighted the team’s focus on enabling features crucial for ambient computing, such as searchability, monetization opportunities for developers, and responsible app development practices.

This includes improved analytics, enhanced advertising frameworks, and integration with services like Firebase and Google Cloud, allowing developers to leverage the broader Google ecosystem alongside Flutter.

Early Stage: A Premier Event for Startups

Early Stage is a leading event providing practical guidance for startup entrepreneurs and investors. Attendees gain insights directly from successful founders and venture capitalists regarding business building, fundraising, and portfolio management.

The event comprehensively covers all facets of company development, including fundraising strategies, recruitment processes, sales techniques, legal considerations, public relations, marketing, and brand building.

Each session incorporates dedicated time for audience participation, fostering discussion and allowing attendees to directly address their questions to the speakers.

#flutter#flutter 2#google flutter#web apps#desktop apps#cross-platform development

Frederic Lardinois

Frederic's Extensive Tech Journalism Career

From 2012 to 2025, Frederic contributed significantly to TechCrunch as a journalist.

Beyond his tenure at TechCrunch, he demonstrated entrepreneurial spirit by establishing SiliconFilter.

Additional Writing Experience

Frederic’s writing portfolio also includes contributions to ReadWriteWeb, which is now known as ReadWrite.

Areas of Expertise

His reporting encompasses a broad spectrum of technological fields. He frequently focuses on enterprise solutions and cloud computing.

Frederic also provides coverage of developer tools, alongside insights into the strategies of major players like Google and Microsoft.

Diverse Technological Interests

  • He regularly examines the latest gadgets.
  • Transportation technology also falls within his areas of interest.
  • Essentially, Frederic reports on any subject within the tech landscape that captures his attention.

His journalistic approach is characterized by a wide-ranging curiosity and a commitment to informing readers about emerging trends.

Frederic Lardinois