Michele Volpato

Michele Volpato

This week in Flutter #66: Static metaprogramming. What?

I was looking at the upcoming changes in the Dart language, and in particular at static metaprogramming. With static metaprogramming, you can use build_runners to inspect and modify existing code in your project.

Searching for more, I found Static Metaprogramming in Dart and Flutter: macro_prototype overview by Sandro Maglione.

The implementation is still under discussion, but it is a good idea to start testing it out already.

Are you going to experiment with static metaprogramming? What are you going to build with it?

- Michele Volpato

Development πŸ§‘β€πŸ’»

πŸ”— Functional Error Handling with Either and fpdart in Flutter: An Introduction

I mentioned Sandro Maglione in the introduction and this article is using a package maintained by Sandro: fpdart. The article, by Andrea Bizzotto, is about improving the readability of error handling in Flutter by using functional programming.

πŸ”— Making a gamepad for my Flutter game

Andrei Diaconu implements a Flutter game, using Flame, suitable for the Surface Duo, with the control UI separated from the game view. You can also watch the video version of this article.

πŸ”— Personal Thoughts on Flutter Chart Packages

Do you need to add charts to your Flutter app? Too many packages to choose from? Which Flutter chart package is the best? May Lau has summarized the main ones in this article.

πŸ”— Flutter for Windows Desktop: Getting Started

Do you want to migrate your Flutter app to Windows? Or maybe you have a new idea for a Windows app made in Flutter? Read this beginner tutorial by Karol WrΓ³tniak.

Others πŸ€·β€β™‚οΈ

πŸ”— Debug properties | Decoding Flutter

What is the purpose of the debugFillProperties method? You can use it to add helpful debug information to a widget. Learn more in this episode of Decoding Flutter presented by Renuka Kelkar.


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

Subscribe to this newsletter

Receive an email every week with curated content about Dart and Flutter.

You will also receive a list of resources to learn Flutter.

    We won't send you spam. Unsubscribe at any time.

    Leave a comment