ColorEffect constructor

const ColorEffect({
  1. Duration? delay,
  2. Duration? duration,
  3. Curve? curve,
  4. Color? begin,
  5. Color? end,
  6. BlendMode? blendMode,
})

Implementation

const ColorEffect({
  Duration? delay,
  Duration? duration,
  Curve? curve,
  Color? begin,
  Color? end,
  this.blendMode,
}) : super(
        delay: delay,
        duration: duration,
        curve: curve,
        begin: begin ?? neutralValue,
        end: end ?? (begin == null ? defaultValue : neutralValue),
      );