Install Flutter and Dart plugins in Android Studio

January 27, 2022 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, click Configure, and…

How to make Circular Buttons in Flutter (2022)

January 28, 2022 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…

Merging 2 lists in Dart

January 28, 2022 Hadrianus

This article shows you a couple of different ways to join 2 lists in Dart. Using Addition (+) Operator Example: Output: Using List addAll() method The List class of Dart provides the addAll method that helps…

How to round a number in Dart

January 28, 2022 Hadrianus

In order to round numbers 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, -2.5, 3.5, etc), rounds away…

Flutter/Dart: Generate Random Numbers between Min and Max

July 9, 2022 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

January 16, 2022 A Goodman

This article shows you how to get rid of the ugly (just my personal thought) debug banner located in the top right corners of iOS/Android emulators when you are working with Flutter. The solution is quite…

Updating the PATH variable for Flutter on Mac

January 24, 2022 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 32 33 34