My app's backend server gives text response as stream.
Server (node.js): response.write(chunk);
I want to display the text immediately as the text is being received in chunks. Like this:
String text = '';
http.getStream(uri, (chunk) {
setState() {
text = text + chunk;
}
});