title: Flutter Redux Dispatch Action updates State, but doesn't update UI in Stream
body: <p>I have a <code>stream</code> that calls an API to receive data, each time I receive data, the listener <code>dispatch</code> an <code>action</code> to update redux <code>store</code> state (a list of items), state gets updated successfully.</p>
  <p>This List of Items should update the UI once state is updated with the data came from <code>Stream</code>. That doesn't happen.</p>
  <p>Here is a code sample:</p>
  <p>My stream (part of a stream class):</p>
  <pre><code>  LoadLastDataStream () {
      Timer.periodic(Duration(seconds: 2), (t) async {
        _controller.sink.add(dataList); //StreamController
        UsersService.loadLastData().then((value) =&gt; dataList = value);
      });
    }
  
  </code></pre>
  <p>The above <code>stream</code> is being listened to by the following code, which updates the state, but NOT the UI:</p>
  <pre><code>myStream.listen(
            (dataList){
          if(dataList.length &gt; 0)
            store.dispatch(new SaveLastDataListAction(dataList));//called successfully
        },
      ),
  </code></pre>
  <p>I think this is related to the fact that updating state frequently won't update the UI even in <code>setSteate()</code> like in <a href="https://gist.github.com/brianegan/42b7e2ef856ca8f82f84c62cba46b2d4" rel="nofollow noreferrer">this example</a>. But I don't know how to fix the problem. Any idea? Thanks.</p>