switchComponent method

void switchComponent()

Implementation

void switchComponent() {
  state.animate();
}