How to Get the Size of a Docker Image
This article shows you how to determine the size of a Docker image that is hosted on Docker Hub or a Docker image that was pulled to your local system. Docker Hub’s Images Go to the…
Docker: How to List Running and Stopped Containers
In order to view running Docker containers on your machine, you can use the following command: You will see something like this: To list both running and stopped containers, you can add -a flag: Further reading:…
Installing Docker on Ubuntu 21.04, 21.10, and 20.04
This short and straight-to-the-point article shows you how to install Docker on Ubuntu 21.04 and 21.10 (it also works fine on Ubuntu 20.04 LTS). Without any further ado, let’s see the steps to get the job…
How to Check Docker Desktop and Docker Engine Versions
This concise article shows you how to check your Docker Desktop and Docker Engine versions (note that they are different numbers). Without any further ado (like talking about the history of the universe or why you…
Flutter: Avoid `print` calls in production code
When working with a new version of Flutter(2.5.0 or higher), the IDE (like VS Code) will yell at you if you call the print() function to output something to the console (this behavior didn’t happen before):…
Flutter: Create a Password Strength Checker from Scratch
Hello folks. Today, we will create a password strength checker in Flutter from scratch without using any third-party plugins. Without any further ado, let’s get started (this article was published a very long time ago but…
Using CustomPaint and CustomPainter in Flutter
This article is dedicated to theCustomPaint widget and the CustomPainter class in Flutter. We’ll walk through an end-to-end example of drawing heart shapes using these features then see their constructors and available options. Without any further…
How to Implement Tooltips in Flutter
A tooltip displays an informative message when users hover, tap, or focus on an element. In Flutter, you can use a built-in widget named Tooltip to create tooltips with ease. In this article, we’ll go over…
Flutter: Drawing an N-Pointed Star with CustomClipper
This article shows you how to draw an n-pointed star (5-pointed star, 6-pointed star, 10-pointed star, 20-pointed star, etc.) by using the CustomClipper class in Flutter. There is no need to install any third-party packages. We…
Adding a Border to Text in Flutter
The example below shows you how to add a border (a stroke) to text in Flutter. Screenshot: The code: Further reading: Flutter: Stream.periodic example Hero Widget in Flutter: A Practical Guide Flutter Gradient Text Examples Flutter…
Flutter Stream.periodic: Tutorial & Example
This article walks you through a complete example of using Stream.periodic in Flutter. Overview The Stream.periodic constructor, as its name implies, is used to create a stream that broadcasts events repeatedly at period intervals: Note: The…
Using Static Methods in Dart and Flutter
In Dart and Flutter, a static method (or a static function) is a method defined as a member of a class but can be directly called without creating an object instance via the constructor. In other…