fix null check op

master
小赖 4 years ago
parent 059b90ea53
commit d724abf915

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

Loading…
Cancel
Save