Flutter + Source Generation: The birth of a Magical Widget [Part 2]

Flutter + Source Generation: The birth of a Magical Widget [Part 2]

5 years ago
Anonymous $L9wC17otzH

https://medium.com/@raefmousheimish/flutter-source-generation-971a4144a2ac

In the first article, I shared with you my experience as a Flutter developer, and what carried me into creating the magical widget. And at the end of the article, I showed you the magic that this widget can perform. With just a simple enum definition, complex UI interactions and state management could be automatically orchestrated.No need to read the first article in order to understand this one, because this article is the main one that discusses the technicalities of the magical widget and how to use it. However, I urge you to go back and read the last paragraph of the first article entitled Magical Widget. This will show you what this package is capable of, and hopefully will make you read this article with more enthusiasm.

The GitHub repository of the Magical Widget package can be found here. The repository also contains a detailed README file and the code for the example discussed here.