Flutter for desktop vs Electron. Which one performs better? Read more to get to the answer.
- Michele Volpato
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.
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.
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.
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.
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.
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.
The Flutter SDK for Appwrite is in version 2.0. Read in this article by Damodar Lohani what you can achieve with it.
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.
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.
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.
New episode of Decoding Flutter. Learn how objects are rendered in Flutter with John Ryan.
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