Flutter ColorFiltered Examples

June 24, 2021 A Goodman

A few examples of using the ColorFiltered widget in Flutter. A Prefatory Note The ColorFiltered widget is used to apply a color filter to its child widgets. It takes 3 parameters: key (optional), child (a child…

Flutter PaginatedDataTable Example

June 24, 2021 A Goodman

This article walks you through a complete example of implementing a data table with pagination in Flutter. We’ll use a built-in widget named PaginatedDataTable and the DataTableSource class to get the matter done. Example Preview We…

Flutter: Firebase Remote Config example

June 17, 2021 A Goodman

The process of updating a production app often takes a lot of time and effort, from editing the code to building the app bundles, updating the metadata on the App Store and Google Play, and especially…

Dart: Convert Map to Query String and vice versa

June 9, 2021 A Goodman

This article shows you how to turn a given map into a query string and parse a given query string into a map in Dart (and Flutter as well) without using any third-party packages. Convert a…

Flutter: 2 Ways to Make a Dark/Light Mode Toggle

May 28, 2021 A Goodman

This article walks you through a couple of different ways to switch between dark mode and light mode in a Flutter application. Using Self-Written Code This approach uses ValueListenableBuilder and ValueNotifier, the two built-in classes of…

Great Plugins to Easily Create Animations in Flutter

May 19, 2021 Guest Contributor

Animation effects in mobile apps are very common. However, implementing them sometimes consumes a lot of time and effort of developers. This article will introduce you a list of great open-source animation packages for Flutter to…

Flutter: Dismiss Keyboard when Tap Outside Text Field

May 19, 2021 A Goodman

This article shows you a simple way to dismiss the soft keyboard when the user taps somewhere outside a text field in your Flutter app. What is the point? A realistic scenario If you use a…

Dart: Find List Elements that Satisfy Conditions

May 18, 2021 Guest Contributor

When developing apps with Flutter and Dart, you’ll be working a lot with lists. One of the most common tasks when working with lists is finding elements that satisfy single or multiple conditions. This article walks…

Conditional (Ternary) Operator in Dart and Flutter

May 18, 2021 Guest Contributor

This article is a deep dive to Conditional (ternary) operator in Dart and Flutter. The Basic The conditional (ternary) operator is the only Dart operator that takes three operands: a condition followed by a question mark…

Using GetX (Get) for Navigation and Routing in Flutter

May 18, 2021 A Goodman

Introduction Flutter already provides built-in navigator APIs that can help us navigate between screens (routes) and show dialogs, snack bars, bottom sheets without installing a third-party library. They are good and easy to use. However, if…

2 Ways to Create Multi-Line Strings in Dart

May 17, 2021 Pennywise

This short aritcle shows you two ways to create multi-line strings in Dart (and Flutter as well). Using Triple Quotes Both triple-single-quote (”’) and triple-double-quote (“””) work fine. Example: Output: Note that anything between the starting…

Flutter: Global Styles for AppBar using AppBarTheme

May 15, 2021 Pennywise

If your app has many screens with different app bars, using themes will bring many benefits such as: reducing the amount of code to write, increasing the consistency of the appearance of the app. In Flutter,…

1 2 3 22