MobileNews

Flutter 2.8 brings performance boost and new Dart features, as Google highlights Flame game engine

Flutter 2.8, the latest update to Google’s massively cross-platform app development suite, comes with an automatic performance boost and new features for the Dart language.

If you haven’t yet had the chance to try it out, Flutter is a way to create apps for Android, iOS, Windows, macOS, Linux, the web, and more, all from the same code. Since the launch of “Flutter 2” earlier this year, the project has seen incredible growth, as Google cites 375,000 Flutter apps in the Play Store, nearly half of which have launched since May.

Today, Flutter is getting a bump to version 2.8, for which the team has focused on improving the performance of apps on mobile devices. By simply updating to Flutter 2.8, you’ll gain these enhancements, and your apps should open faster as well as use less memory. Google is actively invested in these improvements for Flutter, as some of their core apps like Google Pay and Stadia are built with it.

Flutter 2.8 also includes a focus on making it easier to connect apps with backend services like Google’s Firebase. To that end, nearly the full suite of Firebase plugins for Flutter have been upgraded from “Beta” to “Stable.” Similarly, there’s now an official, easy-to-use widget for signing in to an app with Firebase Authentication, which covers the many edge cases, which should help save developers time and better ensure security.

As is often the case, this latest Flutter update also comes with a simultaneous update to the Dart programming language SDK, to version 2.15. Some of the previously mentioned performance boosts are thanks to this update, which means those who use Dart outside of Flutter should see some of those improvements too.

Beyond that, Dart 2.15 introduces “constructor tear-offs” which allow you to refer to a class’s constructor by name in situations like “forEach()” or “map()”. Depending on the structure of your app’s code, this might come particularly in handy for developing Flutter UI.

Meanwhile, Google is also taking time to highlight their partnership with Flame, a third-party game engine built on top of Flutter, which has reached its 1.0 stable release today. Flame is ready for 2D game development, complete with a game loop and support for necessary tools for physics, animation, and mapping.



Author: Kyle Bradshaw
Source: 9TO5Google

Related posts
DefenseNews

After Army canceled helo program, industry had to pivot

DefenseNews

Here’s when the US Army will pick next long-range spy plane

DefenseNews

Raytheon picks Spain’s Sener to make Patriot interceptor parts

Cleantech & EV'sNews

Gogoro announces major partnership to help accelerate global expansion

Sign up for our Newsletter and
stay informed!