Month: February 2022
-
How To: Load Asset Files Into Flutter
How to Solve Unable To Load Asset In Flutter? In this article, we will take a look at how to load asset In Flutter. Both code and assets may be included in Flutter apps (sometimes called resources). The problem “Unable to load assets In Flutter” appears from time to time in Flutter. So, in this…
-
How To: Colorize Flutter Debug Console Logs
In this article, we will be taking a look at how to colorize Flutter debug log statements using the dart:developer package. Fixing issues and building apps with Flutter is more interesting and pleasant when messages are logged in multiple colors. This post will demonstrate how to accomplish this without the need of any third-party plugins.…
-
Introduction To Null Safety In Dart
What is Dart Null Safety? In basic terms, null safety in dart means that a variable cannot have a ‘null’ value unless it was started with null. All runtime null-dereference problems will now be shown at compile time, thanks to null safety. Dart Null Safety Code Example We constructed a class in the preceding dart…
-
How To: Deploy Django using Docker & MySQL
During the setup of MySQL with Django using Docker, I ran into few issues. As a result, I decided to write this article to help people trying to figure out on how to deploy a Django app using Docker and MySQL. MySQL is a relational database management system that is free and open-source. “My” is…
-
Python Sleep Introduction
Have you ever needed to wait for something in your Python program? You want your code to run as rapidly as possible most of the time. However, there are occasions when putting your code to sleep is in your best interests. To mimic a delay in your software, for example, you may use the Python…
-
Flutter Unit Testing Using Mockito
When writing a unit test for a function, you may wish to mock or stub the results of other functions called from the test function. This post demonstrates how to use Mockito to write a unit test for a Flutter application (or any other Dart-based application). Importing Mockito Into Flutter Project This tutorial makes use…
-
Upload Files In Google Drive Using Flutter
We’ll learn how to incorporate Google Drive into the Flutter app in this tutorial. We’ll learn how to use Flutter to upload, list, and download files to Google Drive. For authentication, I used Google Plus, and then I went to Google Drive. I looked into the Google Drive API, but ultimately decided that this method…