title: Flutter Update state for ScopedProvider does not update
body: <pre><code>// 1
  final shoppingScopedProvider = Provider.autoDispose&lt;ShoppingList&gt;((_) =&gt; throw UnimplementedError());
  
  // 2
  (context, int index) =&gt; ProviderScope(
   overrides: [shoppingScopedProvider.overrideWithValue(list[index])],
   child: const ShoppingListCard(),
  ),
  
  // 3
  final ShoppingList item = ref.watch(shoppingScopedProvider);
  
  // 4 - here is my state notifier code
  state = [
    for (final s in state)
      if (s.id == list.id) list else item,
  ];
  </code></pre>
  <p>Updating state does not update the value of the item variable in ShoppingListCard()widget.
  State is actually updated but the UI is not refreshing. I test this by hot reloading.</p>
  <p>Any help would be much appreciated.</p>