This week in Flutter #30
2 min read

This week in Flutter #30

Packages in DartPad and app monetization in Flutter

Did you know that using DartPad you could easily show a running Dart code example on a web page? You can see it in action here. The Flutter team announced that now you can also add packages to your Dart code example. It is disappointing that many content creators are not using DartPad in their articles. I am gonna guess that the reason is that many of them use a platform that is absolutely not built for developers who blog. I hope that with this update, more bloggers will start using it.

The Flutter team also released a video about app monetization. You can load and display Google Ads in your Flutter app, or you can use in-app purchases or Google/Apple pay.

- Michele Volpato

Development 🧑‍💻

🔗 Flutter Canvas API: Getting Started

Learn how to create custom widgets and shapes in this awesome tutorial by Wilberforce Uwadiegwu.

🔗 Introduction to FFmpeg Kit API

FFmpeg is an open source suite of libraries that helps with handling video and audio. You can convert a file from a format to another, for instance. With ffmpeg_kit_flutter you can use it in your Flutter application. Learn how it works in this article, by Taner Sener.

🔗 Flutter: Building a custom video trimmer with stack and FFmpeg

And now that you know about FFmpeg, practice your video editing skills with this article by kibzrael.

🔗 Flutter State Management with Riverpod: The Essential Guide

I might have already linked this article written by Andrea Bizzotto, on state management with Riverpod. But Riverpod was recently promoted to 1.0.0, so Andrea updated the article. It is a good idea to read it, again.

Backend 🗄

🔗 Deploy a Dart Shelf server to Google Run

Cloud Run is a serverless execution environment that you can use to run stateless containers. When you use Cloud Run, you abstract away from infrastructure, which makes it ideal for engineers more on the dev side of DevOps. In this article by Filipe Barroso, you'll learn how to deploy a Dart server using Cloud Run.

Architecture 🏛

🔗 Flutter MVVM and Clean Architecture - Part 1

I am always looking for comprehensive Flutter architecture articles. In this one, Cassius Pacheco shows how to implement MVVM in a simple Flutter app. I am still not convinced this will be my go-to architecture paradigm.

Others 🤷‍♂️

🔗 Choosing the right gestures for your Flutter project

This is a very nice article about user experience with gestures in Flutter. No code, just examples and explanations. Go read it, really. By Murtaza Sulaihi.

🔗 ShrinkWrap vs Slivers | Decoding Flutter 🎦

Learn about nested lists in Flutter, how the shrinkWrap parameter works, and why sometimes Slivers are the best tool for the job. By the Flutter team.

Subscribe to this newsletter

Receive an email every week with curated content about Dart and Flutter.

    We won't send you spam. Unsubscribe at any time.