setState method

void setState(
  1. CoreState state
)

Sets the state of the animation.

Implementation

void setState(CoreState state) {
  _current = state;
  _stateController.add(state);
}