PresetAnimation constructor

const PresetAnimation({
  1. Duration delay = Duration.zero,
  2. Duration duration = Duration.zero,
  3. Curve curve = Curves.linear,
  4. CustomAnimationControl control = CustomAnimationControl.PLAY,
})

Implementation

const PresetAnimation(
    {this.delay = Duration.zero,
    this.duration = Duration.zero,
    this.curve = Curves.linear,
    this.control = CustomAnimationControl.PLAY});