Month: February 2022

  • How To: Load Asset Files Into Flutter

    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

    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.…

  • Dart: Convert/Parse JSON String, Array into List/Object

    Dart: Convert/Parse JSON String, Array into List/Object

    Convert JSON String or Array into List or Object in Dart/Flutter In this Dart/Flutter lesson, we’re going look at how to convert/parse JSON text into Object, Nested Object, how to parse JSON array, array of JSON items into List. Finally, complicated JSON may be parsed into Nested Objects (that also contains array as a field).…

  • Introduction To Null Safety In Dart

    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…

  • Tutorial: Flutter Cupertino TabBar (iOS)

    Tutorial: Flutter Cupertino TabBar (iOS)

    Introduction: Flutter Cupertino TabBar Cupertino tabbar is a flutter version of the iOS bottom tabbar or bottom navigation bar. The CupertinoTabBar widget allows us to add an iOS-style tabbar to our project. It’s comparable to the android platform’s bottom navigation bar in flutter. It shows a row of tabs with a label and an icon…

  • How To: Deploy Django using Docker & MySQL

    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

    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

    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

    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…