Mobile

Using GetX (Get) for State Management in Flutter

Updated: October 4, 2022 By: A Goodman

This article shows you how to use GetX (also known as Get) to manage states in Flutter. We are going to build a simple app that displays a list of given products (you can fetch these…

How to Create a Confirm Dialog in React Native

Updated: June 27, 2022 By: A Goodman

In many cases, you will need to implement a confirm dialog to let the user confirm that they are sure they want to perform an action. This helps prevent consequences when a user accidentally clicks the…

Flutter: Save Icon to Database, File, Shared Preferences

Updated: April 26, 2023 By: Alexandros

In many cases, your application allows users to set and select some icons according to their wishes (for example, a task manager, a note app, or an event app). This short article shows you how to…

How to Toggle Dark Mode on iOS Simulator

Updated: August 26, 2022 By: A Goodman

This article shows you a few ways to turn on or off the dark mode on an iOS simulator. Change Developer Settings This approach is simple and doesn’t require you to remember any command. Everything you…

Flutter: Save and Retrieve Colors from Database or File

Updated: April 23, 2023 By: Napoleon

There are situations you may need to store color in a database, file, cloud, or shared preferences. There is a small challenge is that color is not a string or a number so we cannot directly…

Using Image Picker and Camera in React Native (Expo)

Updated: September 21, 2022 By: A Goodman

This article shows you how to implement an image picker in a React Native project based on Expo SDK. Example Preview The app we are going to build together is quite simple. It only contains 2…

Adding and Customizing a Scrollbar in Flutter

Updated: April 23, 2023 By: Napoleon

In Flutter, scrollable widgets (ListView, GridView, etc) have no scrollbar by default. A scrollbar lets a user know how long a view is. It indicates how far the user has scrolled from the top boundary and…

3 Ways to Add Separators between Items in a ListView

Updated: April 23, 2023 By: Pennywise

The following examples show you a couple of different ways to insert separators between items in a list view in Flutter. Example 1: Using ListView.separated In Flutter, you can use ListView.separated to easily create a list…

Sorting Lists in Dart and Flutter (5 Examples)

Updated: April 19, 2023 By: Pennywise

In this article, we’ll walk through a couple of examples of sorting lists in Dart (and Flutter as well), a common task that you may have to deal with in the vast majority of your projects….

Flutter: Customizing the TextField’s Underline

Updated: April 23, 2023 By: Pennywise

In Flutter, you can customize the color, thickness, and style (actually, there are only 2 stypes for underline: solid and none) of a TextFIeld’s underline by using the parameters from the InputDecoration class listed below: The…

A Complete Guide to Underlining Text in Flutter (4 examples)

Updated: October 11, 2022 By: A Goodman

When building websites or mobile apps, there will be occasions when you want to create underlined text with the aim of making it stand out from other text, such as links, certain sentences or words. special…

How to disable Web and Desktop support in Flutter

Updated: April 23, 2023 By: Pennywise

If your goal with Flutter is just to build apps for Android and iOS, then you can disable web and desktop-related things. This makes your projects a little cleaner and lighter. Solution Web In order to…

1 20 21 22 23 24 46