Flutter

How to Get the Size of a Docker Image

Updated: September 11, 2022 By: A Goodman

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

Updated: November 2, 2021 By: A Goodman

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

Updated: November 1, 2021 By: A Goodman

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

Updated: September 11, 2022 By: A Goodman

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

Updated: October 6, 2022 By: A Goodman

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

Updated: September 15, 2023 By: A Goodman

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

Updated: September 1, 2023 By: A Goodman

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

Updated: September 1, 2023 By: A Goodman

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

Updated: August 24, 2023 By: A Goodman

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

Updated: August 19, 2022 By: Guest Contributor

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

Updated: October 10, 2022 By: A Goodman

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

Updated: August 19, 2022 By: A Goodman

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…

1 13 14 15 16 17 41