If I have a stream of values, how can I draw a line chart in real-time based on those values?
Not sure if this will help but I have just added a plugin to Flutter that may do what you need, or if not at least give you some ideas. You can find it here
And in this gist I have modified the example code to read the data from the device sensor stream (in real-time) which it then graphs out.