updateState method
Internal method to update the state.
For use by the StreamingText widget only; not part of the public
programmatic control surface (pause/resume/restart/stop/
skipToEnd).
Implementation
void updateState(StreamingTextState newState) {
_updateState(newState);
}