radiansToRotateDelta property

double radiansToRotateDelta

Total rotation required to reach the new index, minus what has already been rotated. This number is fixed from the beginning of the transition and does not update as the active indicator animates.

Implementation

double get radiansToRotateDelta => direction == Direction.forward
    ? radiansToRotate - startingRotation
    : startingRotation - radiansToRotate;