title: How best to use Riverpod to manage items in a list
body: <p>I'm struggling to figure out how to use Riverpod for the following scenario.</p>
  <p>I have a ListView where the children are Containers with a button inside.</p>
  <p>When the button is pressed, I want to change the colour of that container. I want that colour to be stored in a piece of state using a Riverpod provider.</p>
  <p>There is another button outside the list. When that is pressed, it should change the color of ALL the containers.</p>
  <p><a href="https://i.stack.imgur.com/gFVSc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gFVSc.png" alt="enter image description here" /></a></p>
  <p>It feels like I need a Change/StateNotifierProvider for each container. Do I use families for this? How would I tie a particular piece of state to its associated container?</p>
  <p>And how would the red button access all of the states to change the colour of all?</p>
  <p>As a bonus, I would also like the red button to be notified when one of the green buttons changes the color of its container</p>
  <p>Many thanks</p>