Flutter 2 has already been released and arrives as a universal framework

Google recently unveiled the introduction of the new version of the UI framework flutter 2, in which announced the transformation of a project of a mobile application development framework to a universal framework to create any type of software, including desktop and web applications.

For those unaware of flutter, they should know that this is considered as an alternative to React Native and allows launching applications for different platforms, including iOS, Android, Windows, macOS and Linux, based on the same code base, as well as applications to run in browsers.

Mobile apps previously written in Flutter 1, after switching to Flutter 2, will be able to adapt to work on the desktop and the web without having to rewrite code.

About Flutter

Most of the Flutter code is implemented in Dart and the runtime engine for running applications is written in C ++.

When developing applications, in addition to the native Flutter Dart language, you can use the Dart foreign function interface to call C / C ++ code.

Flutter portability too extends to embedded devicesi.e. to smaller devicess like Raspberry Pi and Google Home Hub.

At this point, Google says, one of the embedded platforms where Flutter is already operating is based on smart display operating systems that powers the likes of the Google Home Hub.

High execution performance is achieved by compiling applications into machine codea for target platforms. At the same time, there is no need to recompile the program after each change: Dart provides a hot reload mode that allows you to make changes to a running application and immediately evaluate the result.

Today, we announced Flutter 2 - a major update to Flutter that enables developers to create beautiful, fast, and portable applications for any platform.

With Flutter 2, you can use the same code base to push native apps to five operating systems: iOS, Android, Windows, macOS, and Linux; as well as web experiences directed to browsers such as Chrome, Firefox, Safari or Edge. Flutter can even be integrated into smart cars, televisions and appliances, providing the most universal and portable experience for a world of ambient computing.

About Flutter 2

Flutter 2 claims that it fully supports building web applications, suitable for production deployments, as three main scenarios for using Flutter for the web are mentioned:

  • Develop standalone web applications (PWA, Progressive Web Apps)
  • Create single page web applications (SPA)
  • Convert mobile applications into web applications.

Features of the web development tools include the use of mechanisms to accelerate the rendering of 2D and 3D graphics, the flexible layout of elements on the screen, and the CanvasKit rendering engine built into WebAssembly.

And because desktop browsers are just as important as mobile browsers, we added interactive scroll bars and keyboard shortcuts, increased the default content density in desktop modes, and added screen reader support for accessibility in Windows, macOS and Chrome OS.

In addition, in the announcement it is mentioned that the support for desktop applications is in beta version and it will stabilize this year in a future release along with the announcement that Canonical, Microsoft and Toyota will work on development support with Flutter.

  • For its part, Canonical has chosen Flutter as the main framework for its applications and is also using Flutter to develop a new installer for Ubuntu.
  • While Microsoft has adapted Flutter for foldable multi-screen devices like Surface Duo.
  • Finally, Toyota plans to use Flutter for in-car infotainment systems.

Si you want to know more about it About this new version of Flutter 2, you can check the details in the original announcement. The link is this.

While for those who are interested in being able to install Flutter, You can follow the instructions at the end of Diego's post. The link is this.


Be the first to comment

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.