Dart

Sponsored links
Dart and Flutter

Implementing Bloom Filter in Dart

Bloom Filter can save memory and improve performance. Let's learn how it's implemented in Dart and how it can be used in an example!
Dart and Flutter

Dart Convert String to int with default value on failure

There are some cases in which a string needs to be converted to int/double. How can we do it in Dart? We can use these 3...
Dart and Flutter

Dart Random number in a range

Dart language offers Random class to generate a random result of boolean, int, and double value. The usage is very simpl...
Dart and Flutter

Parse Json into a Dart class object

When calling an API via HTTP, the response is generally JSON format. To handle the response, we need to know how to pars...
Dart and Flutter

Flutter Failed to start DevTools: Dart DevTools exited with code 255

The error described on the title occurred after I updated SDK tools by "sdkmanager --update" command. How to check Log i...
Dart and Flutter

Dart Handling the length after decimal point

How to show minimum digit after decimal point If a value data type is double and printed, it includes a decimal point li...
Dart and Flutter

Dart DateTime handling

DateTime is very common in programming languages. We should know the basics to handle the date-time and show it correctl...
Dart and Flutter

Dart Compare two objects – how to deep equal

This article explains how to compare two objects in Dart. How can we implement if we want to do deep equal? What is the good way to override hashCode and == operator?
Dart and Flutter

Dart – how to assign int/String values to enum

Dart supports only the simplest case on enum and its index always starts from 0. However, we often want to assign values...
Dart and Flutter

Dart – Understanding Class Initialization Order

I wrote simple code to understand class initialization order. Dart offers late keyword to check null at runtime instead ...
Sponsored links