3 min read

This week in Flutter #25

Flutter vs Electron and a new app for the Boring Flutter Development Show

Flutter for desktop vs Electron. Which one performs better? Read more to get to the answer.

- Michele Volpato

Development 🧑‍💻

🔗 Mocking and Testing The File System In Dart/Flutter Unit Tests

Testing a function that creates a new file by checking if the file is present in the file system is not ideal. It can be slower than necessary, and it creates spurious files on your testing machine. [Victor Eronmosele](https://hashnode.com/@victoreronmosele) shows you how to solve these problems by mocking the file system. Clever.

🔗 Explore IntrinsicWidth In Flutter

The IntrinsicWidth widget helps when you want a child widget to size itself to a reasonable width instead of expanding infinitely. Shaiq khan explains it with examples.

🔗 Working with WebView in Flutter

In this article, Ashish Garg teaches you how to use [webview_flutter](https://pub.dev/packages/webview_flutter/) to show webpages in your app. You can show the about page of your company in your app, instead of opening an external browser. Use it carefully, because it has some user experience limitations.

🔗 Integration Testing in Flutter

Start integration testing your app with this tutorial by Aseem Wangoo. He uses the [integration_test](https://github.com/flutter/flutter/tree/master/packages/integration_test#integration_test) package from Flutter. Read more about integration testing in Flutter.

🔗 Starting a new app from the Skeleton template (The Boring Flutter Development Show, Ep. 52)

Finally, the Boring Flutter Development Show started over with a new app, using the new skeleton template, available since the latest Flutter version. Follow Craig and Fitz while they investigate the new skeleton template, and prepare tests for the new app.

🔗 Creating a Game Like Minesweeper in Flutter

The best way to learn is to make a game out of it. And when learning programming, “make” a game out of it. In this tutorial, written by Samarth Agarwal, you’ll learn how to create a game similar to Minesweeper.

Backend 🗄

🔗 Announcing Version 2.0 of the Flutter SDK for Appwrite!

The Flutter SDK for Appwrite is in version 2.0. Read in this article by Damodar Lohani what you can achieve with it.

Others 🤷‍♂️

🔗 DartUP conference

DartUP announced a new free conference on the 3rd and 4th December 2021. As usual, there are talks in English and Russian. They also upload the talks online after the event, so if you cannot attend, you can still watch the videos afterward. I like that.

🔗 macOS Performance Comparison: Flutter Desktop vs. Electron

This is an article I wanted to read for a long time. I use Electron apps. Some are user-friendly and performing well, like VS Code, some others are just very slow, and they feel “off”. If you are not concerned about performance (you should), read the article anyway. It will give you some topics to talk about during the next Flutter meetup. I am impressed by the difference in the size of the final executable and the difference in memory usage. Thanks, Gordon Hayes.

🔗 Let me help you with your readme!

Are you in the market for new Dart or Flutter packages? From his own experience, Felix Blaschke tells you how to use a simple script to create better readme files for your packages, with better code examples too.

🔗 Rendering?! | Decoding Flutter

New episode of Decoding Flutter. Learn how objects are rendered in Flutter with John Ryan.

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.