Understanding Dart : Part 13 - Maps
Series: Understanding Dart for Flutter Beginners In the previous parts, we learned about Lists and Sets. A List stores values in order, while a Set stores unique values. But sometimes we need to stor
Search for a command to run...
Series: Understanding Dart for Flutter Beginners In the previous parts, we learned about Lists and Sets. A List stores values in order, while a Set stores unique values. But sometimes we need to stor
Series: Understanding Dart for Flutter Beginners In the previous part, we learned about Lists. Lists are useful when you want to store multiple values in a specific order. But sometimes you don't wan
Series: Understanding Dart for Flutter Beginners So far, we've mostly worked with individual values. String name = "Roshan"; int age = 28; But what if you need to store multiple values in one variab
Series: Understanding Dart for Flutter Beginners As your program grows, putting all of your code inside main() quickly becomes difficult to manage. For example, imagine you need to calculate a total
Series: Understanding Dart for Flutter Beginners Imagine you need to print numbers from 1 to 10. One way is to write: print(1); print(2); print(3); print(4); print(5); print(6); print(7); print(8); p
Series: Understanding Dart for Flutter Beginners Programs don't always execute the same code from top to bottom. Sometimes they need to make decisions based on certain conditions. For example: Shoul
Series: Understanding Dart for Flutter Beginners In the previous article, we learned how Dart handles null values safely. Now it's time to start working with data. Whether you're calculating a total
Series: Understanding Dart for Flutter Beginners One of the most common reasons applications crash is because the code tries to use a value that doesn't exist. Imagine a user signs up for your app bu
Series: Understanding Dart for Flutter Beginners So far in this series, we've learned how to declare variables, work with different data types, and understand the differences between var, dynamic, an