DEV Community

Cover image for This week in Flutter #33
Michele Volpato
Michele Volpato

Posted on • Originally published at ishouldgotosleep.com

3

This week in Flutter #33

Dart 2.15 has been announced , and OMG they are improving enums :

enum MyEnum {
   one, two, three
}
...
print(MyEnum.one.name);  // Prints "one".
print(MyEnum.values.byName('two') == MyEnum.two);  // Prints "true".
Enter fullscreen mode Exit fullscreen mode

Maybe we will get Swift-like super enums one day.

And you have no idea how many times I declared a List with the 2.15 syntax, and it did not work:

var y = List; // Already supported.
var z = List<int>; // New in 2.15.
var z = typeOf<List<int>>(); // Pre-2.15 workaround.
Enter fullscreen mode Exit fullscreen mode

Flutter 2.8 has also been announced , but my favourite news is the new Firebase UI widgets . Especially the FirestoreDataTable is going to save me so much time.

- Michele Volpato

Development 🧑‍💻

🔗 Flutter Tutorial: Stopwatch App with Custom UI and Animations 🎦

In this video by Andrea Bizzotto , you'll learn how to create a custom stopwatch . This is a lesson from his course on Flutter Animations Masterclass .

Note: I followed the course, I paid full price for it and I do not get a commission for advertising it. It's that good.

🔗 Learn Bloc in Flutter 🎦

Vandad Nahavandipoor is very active on LinkedIn sharing tips about Flutter and Dart , and other frameworks and programming languages. The goal of this streamed event was to teach how BLoC works in Flutter, answering questions from the participants. I like the content Vandad share, I think the main reason is that Vandad is a real senior developer who also creates content, not the other way around.

🔗 How to Parse Large JSON Data with Isolates in Dart 2.15

Another article by Andrea Bizzotto . In Dart 2.15 isolates , pieces of code that run independently from one another, have been improved . Andrea promptly published an article where you'll learn how to take advantage of these improvements while parsing JSON data.

Backend 🗄

🔗 How to Build a Simple CRUD Application Using Flutter and Strapi

Strapi is an open-source headless CMS . In this article, you'll learn how to integrate your Flutter app with an existing Strapi instance . This is a specific case, but if you are adding an app to your portfolio that integrates with an existing backend that already uses Strapi, then this might be helpful.

Tools 🛠

🔗 How to automate localization for Flutter apps

[...]

Read the rest on my website.

Join the Flutter and Dart newsletter and receive it weekly in your inbox.

Sentry blog image

The Visual Studio App Center’s retiring

But sadly….you’re not. See how to make the switch to Sentry for all your crash reporting needs.

Read more

Top comments (0)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post