RainbowAnimation constructor

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

Implementation

const RainbowAnimation(
    {Duration duration = const Duration(seconds: 1),
    Duration delay = Duration.zero,
    Curve curve = Curves.linear,
    CustomAnimationControl control = CustomAnimationControl.PLAY})
    : super(duration: duration, delay: delay, curve: curve, control: control);