DEV Community

Cover image for This week in Flutter #25
Michele Volpato
Michele Volpato

Posted on • Originally published at ishouldgotosleep.com

This week in Flutter #25

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 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.

[...]

Read the rest on my website.

Join the Flutter and Dart newsletter and receive it weekly in your inbox.


Top comments (0)