attachState method

void attachState(
  1. SpinnerWheelState state
)

Attaches the controller to a SpinnerWheelState. This is called internally by the SpinnerWheel.

Implementation

void attachState(SpinnerWheelState state) {
  _state = state;
}