Published in Flutter Community·Oct 31, 2018[Part 2] Code generation in Dart: Annotations, source_gen and build_runnerIn “[Part 1] Code generation in Dart: the basics”, we covered what’s the motivation behind code generation, and listed the most important tools that we have available in Dart to let a computer do the hard work for us. …Android App Development7 min read
Published in Flutter Community·Oct 14, 2018Ozzie, our new testing friendOne of the things that I like the most about Flutter is the ease of testing that comes with the platform; testing is a first class citizen of the framework. Out of the box, you get unit tests, widget tests and integration tests. …Testing2 min read
Published in Flutter Community·Oct 3, 2018[Part 1] Code generation in Dart: the basicsHave you ever wonder what makes a software programmer a great software programmer? Think about it for a minute. …Android3 min read
Published in Flutter Community·Sep 17, 2018Let me help you to understand and choose a state management solution for your appState management in Flutter is a hot topic. The options available are numerous, and while that might be awesome, it is easy to feel overwhelmed, easily confused and lost when trying to pick the best solution that fits your needs. I have been there too. …Flutter6 min read
Published in Flutter Community·Aug 31, 2018Testing the theme switcher: refactor with confidenceIn my previous article, that you can find here, we build a tiny application whose only purpose was to switch the theme by pressing two different buttons. However, the code was far from perfect, since we were injecting the same instance of our themeBloc to many widgets where the themeBloc…Testing5 min read
Published in Flutter Community·Aug 12, 2018How to change the app’s theme at runtime using the BLoC pattern in Flutter.There are many cases where you might want to support multiple themes in your application, and let the user change them dynamically. Let me explain you how to do it in this tutorial using the “business logic component” pattern, also known as BLoC. TL;DR; For those just interested in the…Flutter4 min read
Nov 5, 2017Dreaming Mobile: Kotlin to rule them all!Last Friday finished the first edition of KotlinConf, and it was a total success. We’re talking about a language that, within a year probably, went from being an underdog, to be considered now “the language”. Everyone seems to love it, from old school Java developers to even our Swift/iOS colleagues…Kotlin3 min read