Flutter Flash News 07 2024 netglade
Flutter Flash News 07 2024 netglade
Flutter Flash News 07 2024 netglade

Flutter Flash News (07/2024)

Flutter

Flutter

Flutter

Not even a summer heatwave can stop our monthly Flutter recap. Let’s get to it. 🔥

Jul 22, 2024

LG bets on Flutter

First up, some very exciting news – LG is transitioning to Flutter. The framework will power their WebOS system app. It’s currently being tested on the Asian market, with a global rollout expected by 2026.

With support from a technological giant such as LG, we expect a stronger push for Flutter on bigger screens, TVs, and other digital devices.

Source: https://webostv.developer.lge.com/news/2024-07-15-new-and-successful-experiment-of-webos-with-flutter

Flutter memory leaks from A to Z

Matt Caroll has released a super insightful tutorial on fixing memory leaks. He walks through the initial investigation of the problem, fixing and writing tests, and finally creating a Pull Request.

Interested in contributing to Flutter? This is a great place to start:https://www.youtube.com/watch?v=ca-yMP4ANlk

Dart and Primary constructors

Dart developers are once again cooking up a batch of updates, starting with “Primary constructor”. The expected result is a much shorter class notation.

Following the upcoming support for macros, which we covered last time, this marks another significant tweak dropping in the near future. Soon, we can imagine writing a “Data class” like this:

@Data()
class User({required int id, required String name}) {}

Macro @Data will provide us with the generation of copyWith(), equality, and other properties normally associated with data classes. Consequently, primary constructors make the notation beautifully concise and clear.

Unfortunately, there’s no confirmed release date so far.

Here’s hoping we won’t have to wait too long.

💡Skeleton widgets made simple

Current mobile development trends dictate that loading screens must include skeletons. Here’s a library that will effortlessly turn any widget tree into sublime skeleton widgets with animations.

Skeletonizer package allows you to simply “wrap” the widget, and the library takes care of the rest, including a final check.

We’ve started using the library extensively in our apps and can't praise it enough.

Give it a try and let us know how you like it! 🤗

That’s a wrap! See you next month! 👋