switch case
switch(表达式){
case AnimationStatus.completed:
代码块;
break;
default:
代码块;
}
switch(animationController.status){
case AnimationStatus.completed:
animationController.reverse();
break;
default:
animationController.forward();
}
switch(表达式){
case AnimationStatus.completed:
代码块;
break;
default:
代码块;
}
switch(animationController.status){
case AnimationStatus.completed:
animationController.reverse();
break;
default:
animationController.forward();
}