|
|
@ -35,9 +35,9 @@ class _AnimatedRoateState extends AnimatedWidgetBaseState<AnimatedRotate> {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|
void forEachTween(visitor) {
|
|
|
|
void forEachTween(TweenVisitor<dynamic> visitor) {
|
|
|
|
_rotateTween = visitor(
|
|
|
|
_rotateTween = visitor(
|
|
|
|
_rotateTween!,
|
|
|
|
_rotateTween,
|
|
|
|
widget.angle,
|
|
|
|
widget.angle,
|
|
|
|
(dynamic value) => Tween<double>(begin: value as double),
|
|
|
|
(dynamic value) => Tween<double>(begin: value as double),
|
|
|
|
) as Tween<double>?;
|
|
|
|
) as Tween<double>?;
|
|
|
|