声明默认的动画持续时间
@override Duration get animationDuration => widget.duration ?? const Duration(milliseconds: 100);