Flutter 2.8, the latest update to Google’s massively cross-platform application development suite, comes with an automatic performance enhancement and new features for the Dart language.
If you haven’t had a chance to try it out yet, Flutter is a way to build apps for Android, iOS, Windows, macOS, Linux, the web, and more, all from the same code. Since launching “Flutter 2” earlier this year, the project has seen incredible growth as Google lists 375,000 Flutter apps in the Play Store, almost half of which have been launched since May.
Today, Flutter is moving to version 2.8, where the team focused on improving application performance on mobile devices. By simply updating to Flutter 2.8, you will benefit from these improvements and your apps should open faster and use less memory. Google is actively investing in these improvements for Flutter, as some of their core apps like Google Pay and Stadia are designed with it.
Flutter 2.8 also emphasizes making it easier to connect apps with core services like Google’s Firebase. To this end, almost the entire Firebase plug-in suite for Flutter has been upgraded from “Beta” to “Stable”. Likewise, there is now an official and easy-to-use widget for logging into an app with Firebase Authentication, which covers the many extreme cases, which should help developers save time and better ensure security.
As is often the case, this latest Flutter update also comes with a simultaneous update of the Dart programming language SDK, to version 2.15. Some of the previously mentioned performance improvements are due to this update, which means those using Dart outside of Flutter should see some of these improvements as well.
Beyond that, Dart 2.15 introduces “constructor detachments” which allow you to refer to a class’s constructor by name in situations such as “forEach ()” or “map ()”. Depending on the code structure of your application, this can be particularly useful for developing the Flutter user interface.
Meanwhile, Google is also taking the time to highlight its partnership with Flame, a third-party game engine built on Flutter, which hit its stable version 1.0 today. Flame is ready for 2D game development, with a gameplay loop and support for the tools needed for physics, animation, and mapping.
FTC: We use automatic affiliate links which generate income. Following.
Check out 9to5Google on YouTube for more information: