Flutter: Creating Strikethrough Text (Cross-Out Text)
This concise article shows you how to create a strikethrough text (cross-out text) in Flutter. The TL;DR You can get the job done easily by setting the decoration property of the TextStyle class to TextDecoration.lineThrough, like…
Flutter Slider: Tutorial & Example
This article is about the Slider widget in Flutter. We will explore the fundamentals of this widget and walk through a complete example of using it in practice. A Brief Overview The Slider widget creates a…
Flutter: GridTile examples
This article walks you through a few examples of using the GridTile widget in Flutter applications. Overview GridTile helps us quickly and easily create a tile with rich content (a combination of text, images, and icons)….
Flutter: Firing multiple Futures at the same time with FutureGroup
This article shows you how to fire multiple futures at the same time and run them in parallel by using the FutureGroup class in Flutter. We’ll explore the fundamentals of the class and then walk through…
How to Flatten a Nested List in Dart
In Dart, you can use the expand() method is to look for nested collections inside your collection and flatten them into a single list. Example: Output: Further reading: Flutter & Dart: Displaying Large Numbers with Digit…
Inheritance in Dart: A Quick Example
In Dart, you can use the extends keyword with any class when you want to extend the superclass’s functionality. A class can only extend one class since Dart does not support multiple inheritances. Below is a…
Flutter & Dart: 3 Ways to Generate Random Strings
This article shows you 3 different approaches to generating random strings in Dart (and Flutter as well). Without any further ado, let’s dive into the code. Joining Random Alphabet Letters and Numbers The example below demonstrates…
Docker: How to Retag an Image
You can retag a Docker image referenced by name and tag as follows: Example: You can also tag/retag an image with its ID: Further reading Start, Pause, Restart, Stop, and Delete a Docker Container How to…
Start, Pause, Restart, Stop, and Delete a Docker Container
This short article lists the most important commands you need to know for managing the lifecycle of a Docker container. Starting a Docker container This command is used to start a new container from a single…
Docker: How to Name or Rename a Container
You can do everything you want with a Docker container just by using its ID. That being said, giving a container a meaningful and human-friendly name will make your day more joyful and convenient. Naming To…
Flutter & Dart: Displaying Large Numbers with Digit Grouping
Displaying large numbers with commas as thousands separators will increase the readability. This short article will show you how to do so in Dart (and Flutter as well) with the help of the NumberFormat class from…
How to Delete Docker Images on your System
Overview If there are some pulled images that are no longer needed, then you can remove them from your system to free up your storage with the following command: rm stands for remove. One important thing…