All the Dart tutorials โคต๏ธ
-
Lambda Functions in Dart
Dart treats every function as an object, and this post shows how to write and use anonymous lambda functions with a concrete code example and its output.
-
Map Structures (Dictionary) in Dart
I explain how Dart map structures work as key value pairs, using a dictionary analogy to show how you can store and retrieve data with simple code examples.
-
Set structures in Dart
Set structures in Dart keep your data unique without manual checks. I show how they differ from lists and why you might prefer them for collections.
-
Lists in Dart
Lists in Dart replace arrays with fixed or growing structures. You get clear syntax for adding and removing data without needing a separate Array class.
-
Ternary if operator in Dart
I show how to replace a standard if else block with the ternary if operator in Dart. This cuts down your code for simple conditional assignments.
-
Variables and Data Types in Dart
I break down Dart's var and dynamic types, explaining why they allow flexible assignments and how they differ from standard data types.