currentIndex property
int
get
currentIndex
Gets the current selected slice index
Implementation
int get currentIndex {
return WheelMath.indexAtRotation(
_currentRotation,
widget.slices.length,
widget.configuration?.startPosition ?? WheelStartPosition.top,
);
}