---
title: "Discussion on \"Dart For...in loop\" | Hashnode"
description: "Discussion on \"Dart For...in loop\". Let's start with the basics.\nIts syntax is relatively simple:\nfor (var item in collection) {\n  // Body of the loop\n}\n\nHere's a breakdown of the syntax:\n\nfor: This keyword signals the start of the loop.\n\nvar item: This declares a loop variable (item) ..."
url: "https://hashnode.com/posts/dart-forin-loop/65f2d80adebe4a1cfaa442cd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Dart For...in loop](https://jinali.hashnode.dev/dart-forin-loop?utm_source=hashnode&utm_medium=feed)

Let's start with the basics. Its syntax is relatively simple: for (var item in collection) { // Body of the loop } Here's a breakdown of the syntax: for: This keyword signals the start of the loop. var item: This declares a loop variable (item) ...

Mar 14, 2024 · 1 min read · jinali.hashnode.dev  
Updated Mar 19, 2024  
Read the article

-   [#for-in-loop](https://hashnode.com/tag/for-in-loop)

## Written by

[Jinali Ghoghari](https://hashnode.com/@JinaliInFlutterLand)

@JinaliInFlutterLand

  
[View profile](https://hashnode.com/@JinaliInFlutterLand)

Flutter Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
