title: Flutter How do I iterate over each item in a ListView?
body: <p>I'm new to flutter and have created a simple app to display some custom List Tiles. In each tile, it's possible to increase or decrease the count by the + and - buttons.</p>
  <p>But I want to get these data into a map, on the click of the button &quot;Order&quot;. For example, my map would be like <code>{'shoes': 1, 'books': 2, 'water': 3}</code> etc.</p>
  <p>I've tried Provider, StreamBuilder, BLoC etc. But since I'm a beginner, I couldn't get a real use of any of those.</p>
  <p>Could any of you please tell me how to get this data into a map.</p>
  <p>Thanks for reading.</p>
  <p><a href="https://i.stack.imgur.com/ExBo1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ExBo1.png" alt="enter image description here" /></a></p>