This week in Flutter #1
OOP design patterns in Flutter
Mangirdas Kazlauskas started last year a series of articles about design patterns in Flutter. Each article describes a design pattern, as described in the literature, and also provides the implementation in Dart. I discovered this series only recently, and I jumped into it immediately.
You can also download the app code used in the articles.
Dart Data Class Generator for Visual Studio Code
Not exactly recent, this extension allows you to generate Dart data classes easily, fast, avoiding boilerplate and external code generation. You can also automatically generate code for
Equatable. This extension is already one of my favorites.
Tips and tricks for Flutter
Vandad Nahavandipoor is going fast with his tips and tricks for Flutter (and Dart). Every day he publishes one (or more, often more), code snippets with some small features of Flutter or Dart that you might not know about. Recently, I found interesting the Capturing Stack Traces in Dart Exceptions and the Calling Optional Functions in Dart. You should definitely subscribe to the repository feed.
Testing Mobx stores in Flutter
Adobe XD to Flutter v2.0
I have experimented with the Adobe XD plugin that generates Flutter code directly from your design. I must say that I was not that impressed with the result. But someone who is mainly a UI designer, and not a developer, might find it much more useful. The plugin is now updated for Flutter 2.
Dark Theme for Flutter Applications
I like simple articles. Not all developers know the basics about all the aspects of Flutter. One of them is how to handle different themes in your app. There are plenty of articles around about that, but I read this from Ali Rıza Reisoğlu very easy to understand.
Building a simple Grocery App in Flutter with Supabase
You learn every day something new. I did not know Supabase. Am I going to test it out soon? Of course! In the meanwhile learn about it with this article by Carlo Miguel Dy.
That’s it for this week.
If you want to comment on any of this week’s entries, you can do it in the comment section below.
Have a bug-free week,
- Michele Volpato