Flutter

Live Email Validation in Flutter (Validate while Typing)

Updated: October 11, 2022 By: A Goodman

In this article, we’ll build a small Flutter app to demonstrate how to validate email while the user is typing. This will help him or her quickly identifies if there is a typo or mistake going…

Flutter system requirements on Windows and Mac (2023)

Updated: January 4, 2023 By: Guest Contributor

Flutter is an open-source UI SDK (software development kit) created by Google. First launched in 2017 and rapidly growing, Flutter has more than 149k stars on Github so far and is used by many large corporations…

Flutter error: Could not resolve the package ‘characters’ in…

Updated: February 6, 2023 By: A Goodman

Problem When running a Flutter app, you may see this error message: This often occurs after upgrading Flutter to a newer version. Solution To fix the mentioned error, just upgrade all the dependencies listed in the…

How to disable Landscape mode in Flutter (2023)

Updated: January 8, 2023 By: A Goodman

This article shows you how to disable the landscape mode in Flutter. The Steps 1. Import the services library to your main.dart file: Note that the services library comes along with Flutter and you DO NOT…

Install Flutter and Dart plugins in Android Studio

Updated: February 6, 2023 By: A Goodman

This article shows you how to install Flutter and Dart plugins in Android Studio (you’ll see warnings when running flutter docker if these plugins haven’t been installed yet). 1. Open your Android Studio, and you will…

How to make Circular Buttons in Flutter (2023)

Updated: January 8, 2023 By: A Goodman

Buttons are an indispensable part of mobile applications. In Flutter, buttons are rectangular in shape by default. However, in some cases, you may want your buttons to be circular to accentuate and blend in with the…

How to Merge 2 Lists in Dart

Updated: February 6, 2023 By: Hadrianus

This article shows you a couple of different ways to join 2 lists in Dart. You will learn each method through an example. Using Addition (+) Operator Example: Output: In my opinion, this approach is the…

How to round a number in Dart

Updated: February 6, 2023 By: Hadrianus

In order to round a float number to an integer in Dart, we can use the round() method. This method returns the closest integer to the input number. If cannot determine the closest integer (e.g. 0.5,…

Flutter/Dart: Generate Random Numbers between Min and Max

Updated: June 5, 2023 By: A Goodman

A couple of examples of generating a random integer within a given range in Dart (and Flutter as well). Example 1: Using Random().nextInt() method The code: Output: Due to the randomness, it’s very likely that you’ll…

Flutter: How to remove the DEBUG banner on emulators

Updated: February 3, 2023 By: A Goodman

This article shows you how to get rid of the ugly (just my personal thought) debug banner that locates in the top right corners of iOS/Android emulators when you running a Flutter app in the development…

Updating the PATH variable for Flutter on Mac

Updated: February 5, 2023 By: A Goodman

After downloading Flutter, you need to update your path in order to run flutter commands via the terminal. In macOS 10.15 or beyond (Catalina, Big Sur, Monterey), you need to edit the .zshrc file instead of…

1 36 37 38