Flutter: How to Add a Border to a ListTile

August 8, 2022 Guest Contributor

In order to add a border to a ListTile widget in Flutter, you can assign its shape property to RoundedRectangleBorder, BeveledRectangleBorder, or StadiumBorder. You have control over the thickness, color, and radius of the border. Let’s…

Flutter: Creating a Fullscreen Modal with Search Form

August 6, 2022 A Goodman

This practical article walks you through a complete example of implementing a fullscreen search modal in Flutter. Without any further ado, let’s get started. The Example Preview The small app we’re going to construct has an…

Flutter: PageView examples

August 6, 2022 A Goodman

This practical article walks you through a couple of different examples of implementing the PageView widget in Flutter. The first example is simple and straightforward, while the second one is a little bit complex because it…

Flutter: How to Format Numbers as Currency Strings

August 6, 2022 Guest Contributor

Overview In order to format numbers as currency strings in Dart and Flutter, we can make use of the NumberFormat class provided by the well-known, official package named intl. There are several constructors for the job….

Flutter & VS Code: Auto Trigger Hot Reload on Save

August 6, 2022 A Goodman

When developing apps with Flutter and VS Code (Visual Studio Code), most of us perform a hot reload by focusing our mouse pointer in the terminal window and then pressing the well-known shortcut Shift + R….

How to Parse and Render XML Data in Flutter

August 4, 2022 A Goodman

This succinct article shows you how to parse and display XML data in Flutter. Overview Like JSON, XML can be used to receive data from a web server. However, JSON is a data interchange format and…

Flutter: Full-Screen Semi-Transparent Modal Dialog

October 6, 2022 A Goodman

This practical article shows you how to implement a full-screen semi-transparent modal dialog in Flutter (with some animations). You will also learn how to pass data between the parent screen and the modal dialog. No more…

Dart: Calculating the Average of Data in a List

July 28, 2022 A Goodman

This practical, succinct article walks you through two examples of calculating the average of numerical data in a given list. The first example works with a simple list that contains only numbers, while the second one…

Flutter: Uploading Files with GetConnect (GetX)

July 25, 2022 A Goodman

At the time of writing, GetX (aka Get) is the most-liked Flutter package (9.7k+ likes). This multi-purpose library provides a bunch of features, including state management, navigation & routing. You can also upload files to a…

Flutter: 6 Best Packages to Create Cool Bottom App Bars

July 22, 2022 Guest Contributor

Flutter provides several built-in widgets that can help you create a bottom bar for your app (BottomAppBar, BottomNavigationBar, CupertinoBottomTab, and maybe NavigationRail). However, there might be cases where you want to make a special bottom bar…

How to Create Image Buttons in Flutter (4 examples)

July 21, 2022 A Goodman

This practical article walks you through a couple of different ways to create image buttons in Flutter (I use network images for the coming examples so that you can readily run the code without any extra…

Using CupertinoSwitch in Flutter (iOS-Style Switch)

July 19, 2022 A Goodman

A switch (also known as a toggle) is an interactive component that lets users select between a pair of opposing values (e.g. on/off, true/false, light/dark) and has different appearances to distinguish the choice. This article shows…

1 2 3 4 35