fix null check op

master
小赖 4 years ago
parent 059b90ea53
commit d724abf915

@ -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>?;

Loading…
Cancel
Save