When you are working in a Flutter mono-repo, that is a Flutter project with code divided into sub packages, you need a way to manage dependencies, tests, and code generation, for your main project and for all the sub packages. You can do it using scripts. You would add a folder to the repository with a script to validate and get dependencies in all the sub packages, one script to run tests in all packages and combine coverage, and one script to run all code generations.
It can become hard to maintain, that is why there are tools like Melos. I am experimenting now with it and planning to introduce it in a bigger project.
Are you using mono-repos? Do you use scripts or a specific tool to manage sub packages? Let me know in the comment section below.
- Michele Volpato
Flutter 3 added better support for internationalization. In this tutorial, Shubham Soni teaches you how to localize your Flutter app and make it more accessible to users.
I usually do not link articles that just show how to use a specific widget. You can get the same
information just by reading the documentation. But this one is different.
christos deep-dives into what you can do with the
widget. A well-written article.
Appwrite added Zoom OAuth integration. In this article, you find instructions on how to integrate it into your Flutter app.
Damodar Lohani writes for Appwrite a tutorial to integrate Stripe and Flutter. I had planned to work on a web app using the same technologies, but we ended up using a static website and a different payment provider. But the idea stayed in my mind, hidden behind all the other projects I am working on. I am happy to read this article. Now I know where to start from.
mason is a tool that developers can use to generate custom code. You can use it to create bricks which are reusable templates you can share with other developers and run using mason_cli. There are already plenty of bricks out there.
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