How to make round buttons in Flutter (2020)

July 29, 2020 Goodman

An easy and good way to create a round button (not “rounded button” or “pill button”) in Flutter is to wrap a RaisedButton widget inside a square Container and using the BorderRadisu class. Sample code:

Merging 2 lists in Dart

July 2, 2020 Linda Walker

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 Linda Walker

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

July 2, 2020 Linda Walker

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-perform your code).

Flutter: How to remove the DEBUG banner on emulators

July 1, 2020 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 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…