This patch tightens up the imports in this file and hides some more of
the implementation details by making RepeatingCurveTween and StepTween
private.
Also, removed a CurvedAnimation with a linear curve. That's not needed
because the animation controller itself is an Animation<double>.