AnimationEffect({ this.delay = Duration.zero, this.duration = const Duration(milliseconds: 300), this.curve, });