Google Unveils Flutter 2
Adding Support for Desktop and Web AppsOn March 3, 2021, at an online event, Google announced the newest version of its open-source UI toolkit Flutter 2 for building portable apps. The big news is that Flutter 2 now supports web and desktop apps rather than just a mobile framework. This means Flutter developers can now use the same codebase to build apps for Windows, Android, iOS, Linux, macOS, and the web experiences targeting browsers such as Firefox, Chrome, Edge, or Safari. In the announcement post, Google’s Tim Sneath wrote “Flutter can even be embedded in cars, TVs and smart home appliances, providing the most pervasive and portable experience for an ambient computing world.” The biggest news in this release, perhaps, is Flutter’s sustenance for web apps hitting the steady milestone. Three key web app types supported by Flutter 2 are:
- Progressive Web Apps (PWAs), which functions like mobile apps and native desktop and provide key native app capabilities.
- Single-page apps (SPAs) that are loaded once and then communicate data to and from Internet services.
- Flutter mobile apps, which can be ported to the web, permitting a shared code experience.