This week in Flutter #33
Tags: flutter, dart, news
Published: 2021-12-12 12:53:46

Dart 2.15 has been [announced](https://medium.com/dartlang/dart-2-15-7e7a598e508a) , and OMG they are **improving enums** :

```Dart
enum MyEnum {
   one, two, three
}
...
print(MyEnum.one.name);  // Prints "one".
print(MyEnum.values.byName('two') == MyEnum.two);  // Prints "true".
```
                            
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:

```Dart
var y = List; // Already supported.
var z = List<int>; // New in 2.15.
var z = typeOf<List<int>>(); // Pre-2.15 workaround.
```
                            

Flutter 2.8 has also been [announced](https://medium.com/flutter/announcing-flutter-2-8-31d2cb7e19f5?source=rss----4da7dfd21a33---4) , but my favourite news is the new **Firebase UI widgets** . Especially the [FirestoreDataTable](https://miro.medium.com/max/600/0*5K_qZZ3Sb4n8tXiW) is going to save me so much time.

\- Michele Volpato

Development 🧑‍💻
-----------------

### 🔗 [Flutter Tutorial: Stopwatch App with Custom UI and Animations](https://codewithandrea.com/videos/stopwatch-flutter-ui-tutorial/) 🎦

In this video by [Andrea Bizzotto](https://github.com/bizz84) , you'll learn how to create a **custom stopwatch** . This is a lesson from his course on [Flutter Animations Masterclass](https://codewithandrea.com/courses/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](https://www.youtube.com/watch?v=Ed6J5kQVa08) 🎦

[](https://www.youtube.com/channel/UC8NpGP0AOQ0kX9ZRcohiPeQ)[Vandad Nahavandipoor](https://www.linkedin.com/in/vandadnp/) 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](https://codewithandrea.com/articles/parse-large-json-dart-isolates/)

Another article by [Andrea Bizzotto](https://github.com/bizz84) . In Dart 2.15 [isolates](https://dart.dev/guides/language/concurrency) , 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](https://strapi.medium.com/how-to-build-a-simple-crud-application-using-flutter-and-strapi-28fbeb66dfc8)

Strapi is an open-source [headless CMS](https://en.wikipedia.org/wiki/Headless_content_management_system) . 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](https://about.gitlab.com/blog/2021/12/10/how-to-automate-localization-for-flutter-apps/)


[...]

Read the rest on [my website](https://ishouldgotosleep.com/this-week-in-flutter-33/).

[Join the Flutter and Dart newsletter](https://ishouldgotosleep.com/subscribe-to-the-newsletter-devto/) and receive it weekly in your inbox.