updateState method

void updateState(
  1. StreamingTextState newState
)

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);
}