What is the Point? To hide an entered password in a TextField/TextFormField, just set its obscureText property to true: TextField( obscureText: true, /* ... */ ), Screenshot: To show the entered password for the......
This article demonstrates 2 different ways to execute a piece of code after a delay in Flutter. The first approach is to use Future.delayed, and the second one is to use a timer. Without any further ado, let’s get our hands dirty by......
Introduction Logging messages in different colors makes fixing bugs and developing apps with Flutter more fun and enjoyable. This article will show you how to do that without using any third-party plugins. Overview To output......
The goodness of caching network images in a Flutter application does more than just boot up the performance of the application itself. Other significant benefits are: Reduce the burden on your server and reduce the cost you have to......
There might be cases where you want to programmatically disable the Android system back button on some specific screens in a Flutter application. This article shows you how to do it. What Is The Point? To prevent the Android back......
In most programming languages, 2 maps are considered equal if they have the same length, and contain the same keys associated with the same values. This article shows you 2 different ways to correctly compare 2 deep nested maps in......
This article walks you through a couple of examples of adding a search field to an app bar in Flutter. The first one uses the AppBar widget (most seen in entertainment apps) and the second one uses the SliverAppBar widget (commonly used......
In real-world Flutter applications, we often load dynamic data from servers or databases instead of using hardcode/dummy data as we often see in online examples. For instance, you have an e-commerce app and need to load products......
A few examples of the ListTile widgets in Flutter. Example 1 (Simple) This example displays a card with a list tile inside. The list tile contains a leading icon, a title, a subtitle, and a trailing icon. Screenshot: The......
SQLite is a fast relational database that can be used to store data offline for mobile applications. CRUD means create, read, update, and delete, the four essential operations of persistent storage. In this article, we are going to......
This article walks you through a complete example of using ValueListenableBuilder, ValueNotifier, and ValueListenable to manage state in a multi-page (or multi-screen) Flutter application. A Quick Note The ValueListenableBuilder......
There are several packages that can help you implement a web view in your Flutter application. In this article, we’ll use webview_flutter, the most popular plugin for this kind of stuff. Install The Plugin Run the......