How to make Circular Buttons in Flutter (2021)

January 5, 2021 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

July 2, 2020 The Shadow

The List class of Dart provides the addAll method that helps you easily join 2 lists together; Example: Output:

How to round a number in Dart

July 2, 2020 The Shadow

In order to round numbers in Dart, just use the round() method. Example: Output:

Flutter/Dart: How to generate random numbers between min and max

October 16, 2020 The Shadow

The code snippet below shows you how to generate a random integer between a min and a max numbers. Output (the output, of course, is random, and will change each time you re-execute your code).

Flutter: How to remove the DEBUG banner on emulators

July 1, 2020 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 in macOS 10.15+ (Catalina and newer)

April 12, 2020 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), you need to edit the .zshrc file instead of the .bashrc or…

1 19 20 21