onComplete property

dynamic Function(WheelSegment, int) onComplete
final

Callback called when the wheel stops spinning. Returns the selected WheelSegment and its index.

Implementation

final Function(WheelSegment, int) onComplete;