Category: Dart

  • Sort Lists Dart & Flutter: 5 Sort Examples Dart

    Sort Lists Dart & Flutter: 5 Sort Examples Dart

    In this article we’ll take a look at how to sort lists in Dart (and Flutter as well) in this post, which is a typical activity that you’ll encounter in the vast majority of your projects. The examples are arranged in order of difficulty, from simple to sophisticated, and cover the majority of real-life circumstances.…

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

  • Run Code After Some Delay in Flutter?

    Run Code After Some Delay in Flutter?

    In this article, we’ll look at how to run code in flutter after a delay. I’ve compiled a list of all viable solutions to this problem. Sometimes, it’s very important in app development to execute code after some time. Hopefully, this article will help you solve that problem. I’ll provide you all of the options…

  • Working With DateTime in Flutter

    Working With DateTime in Flutter

    In this tutorial we are going to learn how to format DateTime in Flutter. So, without further ado, let’s get started with this tutorial. First and foremost, we require the Intl package. Add this to your pubspec.yaml file, then get the dependency and import it into your dart program. How To Get Current Date In…

  • Flutter Framework: How Does It Work?

    Flutter Framework: How Does It Work?

    Introduction: Fundamentals Of Flutter Framework Flutter was first released by Google in May of 2017. It’s a framework for developing apps for smartphones and other mobile devices that’s quick and safe. Flutter offers useful services for developing quick apps. It has proven to be a paradigm of open development. In comparison to previous frameworks, Flutter…

  • How To: Upload Images and Files To Server Flutter

    How To: Upload Images and Files To Server Flutter

    In this post, I’ll teach you how to upload files to a server using Flutter. The term “multipart” refers to a file that will be dispersed in sections before being uploaded to the server. We’re going to use the http restful client for this. First, we’ll need to install the http package, which may be…

  • Top Flutter Interview Questions

    Top Flutter Interview Questions

    The majority of people dread job interviews. As a result, proper preparation before an interview is critical. As a result, in this article, we’ll go over the most often asked Flutter Interview questions. Most importantly, this will increase your self-assurance during the job interview. Here are 15 of the most common Flutter interview questions 15…

  • Implement Progress Indicator In Flutter Snackbar

    In this article, we’ll take a look at how to implement a circular progress indicator within the Snackbar of a Flutter application. Users are informed about the state of ongoing activities such as launching an app, submitting a form, or storing modifications via progress indicators. They convey the status of an app and provide information…