Local-first, similarly to offline-first, refers to a way of building apps where data is manipulated first in the client. In Some Notes on Local-First Development by Kyle Mathews, you’ll read what is currently happening in this field. The article reminds me also of a Fluttercon talk: From Network Failures to Offline Success: A Journey of Visible App by Dominik Roszkowski. It is good for your users to be able to use the app offline, and not all flows need to be accessible offline, the most important data can still be online-first. Will you consider this approach in your next Flutter app?
- Michele Volpato
🧑💻 Development in Flutter
In order to comply with the different privacy laws and to comply with the AdMob policy, there are a few factors to take into account. Learn what you need to do in this article.
The Flutter team created a curated directory of agencies that help clients develop apps using Flutter. For consultants who use Flutter to create MVPs, proof of concepts, or entire apps, it looks like a great way to gain visibility.
One of the consultants listed in the directory from the previous link is IBM. In this article, you’ll read how IBM uses Flutter to “prototype, refine and deploy client apps faster than ever”.
After the sunset of the analyzer-based dart_code_metrics, you might have started to look around for a way to replace it. The custom_lint can help you with that, but it needs more work to get to the same level. So read this article to get started with your migration.
In this article, you’ll learn how to architect your Flutter app for data fetching and mutation using Riverpod. I haven’t used Riverpod, or Provider, in a while, and I am not totally convinced by the approach in this article. I am not saying that the article is wrong, or that you should not use Riverpod: the article shows the right way to use it. But to me it looks like the tool you are choosing, in this case Riverpod, drives your architecture choices. My preference is to first design the architecture of your app, and then choose the tools that fit in it. If Riverpod fits your architecture, then go for it!
by Joey Sneddon
After the Ubuntu installer, the App Center is the next app being rewritten using Flutter. I do not share a lot of Linux-related news, because there is not so much news to share. It is promising to see that Canonical is using Flutter more and more in Ubuntu.
🎥 Flutter videos
with Craig Labenz
In this video Craig improves enemy movement in the zombie “shooter” game, he explores adding features such as staggering, veering, and lurching movements to make the zombies appear more realistic. He also proposes to extend the path slightly to allow better navigation around corners.
👨💻 Software engineering
with Jorge Manrubia
In my team, it is common to provide feedback for small stuff in code reviews. They are usually non-blocking, and to newcomers, they might seem pedantic. I like it when I receive them in my pull requests, it shows that the rest of the team is attentive, and it keeps the code consistent.
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