This week Google cut their cut for subscriptions on Android. They already reduced to 15% the fee for non-subscription purchases earlier this year. This is good news for indie developers who can make a bit more money out of their app and hopefully reinvest it in the app itself.
This week I discovered some new and old packages and projects and I thought to share them with you. Which is the idea behind this newsletter, duh!
Boxy is a package that can help you with more complex layouts in your Flutter app. For instance, it makes it easier to layout children of a
Column such that they have the same width as the largest child.
Dashboy is a Gameboy emulator. Its development is in a very early stage and some features are still missing.
Snap Scroll Physics adds a snap behavior to scroll views. See the example in the repository to learn when they are useful.Flash provides easily customizable messages and alerts for your Flutter app. In the sample project, there are a lot of examples of how you can use this package.
- Michele Volpato
Gestures are one of the basic functionalities of all mobile apps. You need gestures to interact with the app via the touchscreen. In Flutter, gestures are so deeply intertwined with widgets that you do not even realize you are using them, for instance when you code the
onPressed parameter of a button. In this article by Ivy Walobwa, you’ll learn all about gestures in Flutter, in case you need to use them outside of a standard widget.
How do you navigate programmatically between tabs in Flutter? Learn it with this article by Andrea Bizzotto.
This is a nice reading from Kilian Schulte. It will give you a headache, but this is so different from the usual articles. In Dart, can you decompose a generic type into its components? And how? To get the answer, read the article and get your deserved headache.
In this article by Souvik Biswas, you’ll learn everything there is to know about sliders in Flutter. At the end of the article, you’ll also see how to create your own slider using custom painters. I worked on a custom slider a couple of years ago, ad that time this article would have helped me a lot.
As I said in the previous issue, “the best way to learn is to make a game out of it”. In this tutorial, written by [Vincenzo Guzzi](https://github.com/vguzzi), you’ll learn how to use Flame to create a game in Flutter. The example used in the article is a cute early Pokemon-like game.
Rosius Ndimofor wrote a four-part series of articles on creating a full app using Flutter and Amplify. It’s a good starting point if you want to learn how to use Amplify as a backend for your Flutter app. Go give them a thump-up.
You use linters and code analyzers before pushing your code to the repository, right? You spend time making sure that the code you write follows the coding guidelines of your company, both manually and by using automated tools. Then Friday comes. Your colleagues are waiting for you to go get a drink and you still need to commit your latest changes, so you quickly run
git commit -am 'fixed nasty bug' && git push and you can finally leave.
Not so fast: you forgot to format the code, analyze it, and regression test it. Avoid this dreadful situation by configuring pre-commits with this article by Kevin Gamboa.
I am not a big fan of low-code/no-code platforms: they make managers think they can easily create an app, but when something does not work, it’s the developer’s responsibility to fix it. Nevertheless, they are great for prototyping, or as a starting point for a real project. Nowa is the new kid on the block. You can sign up for early access to test it out.
Flutter Vikings announced the next Flutter conference: 2-3 February 2022. The conference is available both online and in-person in Oslo, Norway. The list of talks is not known yet.
Vandad Nahavandipoor created these flashcards to help you study Dart. You can print them if you like.
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