startSpin method

Future<void> startSpin()

Triggers the wheel to start spinning based on the configured segments and logic.

Implementation

Future<void> startSpin() async {
  if (_state != null) {
    await _state!.startSpin();
  } else {
    if (kDebugMode) {
      print("Error: SpinnerWheelState is not attached to the controller!");
    }
  }
}