Flutter: How to Repair/Remove all Dependencies in .pub-cache

May 14, 2022 A Goodman

If you are developing an app using Flutter and have encountered a problem related to one or more packages being broken in the system cache (in the ./pub-cache folder), you can reinstall all your cached dependencies…

Xcode: How to Delete an iOS Simulator

May 14, 2022 A Goodman

This concise article shows you how to delete an iOS simulator from Xcode (this action will also clear everything including installed apps and your custom settings on this simulator). Without any further ado, let’s explore the…

Flutter & Dart: How to Check if a String is Null/Empty

May 11, 2022 The Plumber

When working with Flutter and Dart, there might be cases where you have to check whether a given string is null or empty. Suppose that our app’s functionality only continues when the string is neither null…

How to create selectable text in Flutter

May 5, 2022 Pennywise

This article shows you how to create selectable and copiable text in Flutter. Overview In Flutter, the text presented by the Text widget is undetectable (even on the web). To make text selectable, you can use…

Flutter StatefulBuilder example

May 5, 2022 A Goodman

This article is about the StatefulBuilder widget in Flutter. We’ll cover the fundamentals of the widget then examine a complete example of using it in action. Overview The StatefulBuilder widget makes it possible to rebuild only…

Text Overflow in Flutter: Tutorial & Examples

April 25, 2022 Pennywise

In Flutter, the overflow property of the Text, RichText, and DefaultTextStyle widgets specifies how overflowed content that is not displayed should be signaled to the user. It can be clipped, display an ellipsis (three dots), fade,…

Android Emulator: Increase/Decrease Storage and RAM

April 22, 2022 A Goodman

This article shows you how to increase or decrease an Android emulator’s internal storage and memory (the default amount of storage and RAM might be insufficient due to running many apps over time). 1. Launch your…

Dart: Using Async and Await in Loops

April 20, 2022 Pennywise

In Dart (and Flutter as well), you can perform synchronous operations sequentially in loops by using Future.forEach. The example program below will print the numbers from 1 to 10. Every time it finishes printing a number,…

Using Font Awesome Icons in Flutter

April 18, 2022 A Goodman

This article covers almost everything you need to know about using Font Awesome icons in Flutter. Overview Font Awesome is a popular icon kit for websites and mobile apps which contains thousands of free icons (you…

Flutter web: Removing hash symbol (#) from all URLs

April 15, 2022 Pennywise

This article shows you how to remove the hash symbol (#) from Flutter web application URLs. You’ll also learn a technique to avoid a common error you will likely run into if you’re building a cross-platform…

Flutter: Programmatically Check Soft Keyboard Visibility

April 14, 2022 The Plumber

This practical article shows you two different ways to programmatically detect whether the soft keyboard is showing up or not in a Flutter application. The first approach uses self-written code and the second one uses a…

Flutter: Floating Action Button examples (basic & advanced)

April 3, 2022 The Plumber

This article walks you through 4 different examples of using FloatingActionButton (FAB) in Flutter. These examples are arranged in order from basic to advanced, from simple to complex. Without any further ado, let’s get started. Large…

1 2 3 36