switch(表达式){
case AnimationStatus.completed:
代码块;
break;
default:
代码块;
}
switch(animationController.status){
case AnimationStatus.completed:
animationController.reverse();
break;
default:
animationController.forward();
}
2024-04-02 16:27:52
switch(表达式){
case AnimationStatus.completed:
代码块;
break;
default:
代码块;
}
switch(animationController.status){
case AnimationStatus.completed:
animationController.reverse();
break;
default:
animationController.forward();
}