needChangeAnimation method
是否需要改变动画参数
Implementation
bool needChangeAnimation(ButtonStatus newButton){
return width!=newButton.width||height!=newButton.height||borderRadius!=newButton.borderRadius;
}
是否需要改变动画参数
bool needChangeAnimation(ButtonStatus newButton){
return width!=newButton.width||height!=newButton.height||borderRadius!=newButton.borderRadius;
}