Flutter system requirements on Windows and Mac (2021)

January 4, 2021 A Goodman

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

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

August 13, 2020 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, I just upgrade all the dependencies listed in…

How to disable Landscape mode in Flutter (2021)

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

August 10, 2020 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 installed yet). 1. Open your Android Studio, click Configure and select…

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 20 21 22