handleSpinFinished method

void handleSpinFinished(
  1. WheelSpinResult? result
)

Called internally by the SpinnerWheel when a spin ends, with its result, or null if the spin was abandoned.

Implementation

void handleSpinFinished(WheelSpinResult? result) {
  _isSpinning = false;
  if (result != null) _lastResult = result;
  _notifyIfAlive();
}