AnimationOptions constructor

AnimationOptions({
  1. double duration = 200,
  2. AnimationCurve animationCurve = AnimationCurve.ease,
})

Implementation

AnimationOptions({
  this.duration = 200,
  this.animationCurve = AnimationCurve.ease,
}) : assert(duration > 0.0);