This week in Flutter #34
Tags: flutter, dart, news
Published: 2021-12-20 08:17:12

In the [previous issue](https://ishouldgotosleep.com/this-week-in-flutter-33/) of the newsletter, I linked an article about [getting started with Flutter on Manjaro](https://lecarvalho.medium.com/a-simple-fast-and-lightweight-flutter-dev-environment-on-manjaro-df22ae06f527) . Some days ago, the **Ubuntu** team published an article about [flutter for desktop developers](https://ubuntu.com//blog/what-flutterfires-announcement-means-for-desktop-developers) .

I hope that the Flutter experience on Linux gets better and better, both on the **developer** **side** and on the final app **user** **side** .

\- Michele Volpato

Development 🧑‍💻
-----------------

### 🔗 [Motion Toast In Flutter](https://medium.flutterdevs.com/motion-toast-in-flutter-97dd381eb643)

Are you tired of default, boring **toast messages** in your Flutter app? Have a look at the `motion_toast` package to spruce up your toasts. It comes with animations too. In this article, by [Tusharkakkar](https://medium.com/@tusharkakkar23) , you'll learn how to implement them in your project.

### 🔗 [Effective handover of api responses to your code in dart](https://dev.to/_thegingergeek/effective-handover-of-api-responses-to-your-code-in-dart-1led)

In this article by [\_theGingerGeek](https://twitter.com/za_geek) , you'll learn how you can standardize your **network responses** in Dart so that your business layer does not need to handle errors and exceptions, but only a response that could be successful, or might have failed.

### 🔗 [How to handle loading and error states with StateNotifier & AsyncValue in Flutter](https://codewithandrea.com/articles/loading-error-states-state-notifier-async-value/)

[Andrea Bizzotto](https://github.com/bizz84) published a new article. In this one, you'll learn how easily you can **handle errors and loading states** in Flutter by using `riverpod` 's `[AsyncValue](https://pub.dev/documentation/riverpod/latest/riverpod/AsyncValue-class.html)` and extending it using Dart's `extension` . This is a good way of avoiding repetition in your code. Even if you do not plan to use this method, you should still understand it, to make the concept behind it part of your everyday coding.

### 🔗 [](https://medium.com/@remonhelmond/three-hidden-gems-that-help-me-scaling-up-my-flutter-apps-ae5bf559ef97?source=user_profile---------0-------------------------------)[Three hidden gems that help me scaling up my Flutter apps](https://medium.com/@remonhelmond/three-hidden-gems-that-help-me-scaling-up-my-flutter-apps-ae5bf559ef97)

In this article, [Rémon Helmond](https://github.com/remonh87) talks about three packages/plugins that helped him develop Flutter applications at scale. The last two are particularly interesting if your **codebase** is considered **big** , and you need to separate your code into different parts that will be developed and maintained by different groups in your organization. A must-read.

Backend 🗄
----------

### 🔗 [How to make your Flutter app offline-first with Couchbase Lite](https://medium.com/flutter-community/how-to-make-your-flutter-app-offline-first-with-couchbase-lite-86bb23780f74)

Learn how [Gabriel Terwesten](https://github.com/Blaugold) ended up creating their own version of a [Couchbase](https://www.couchbase.com) package for Dart, and how to use it in your own project. It gives you **offline first** and **full-text search** , in a lite package.



[...]

Read the rest on [my website](https://ishouldgotosleep.com/this-week-in-flutter-34/).

[Join the Flutter and Dart newsletter](https://ishouldgotosleep.com/subscribe-to-the-newsletter-devto/) and receive it weekly in your inbox.