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({
  super.delay,
  super.duration,
  super.curve,
  Color? begin,
  Color? end,
  this.blendMode,
}) : super(
        begin: begin ?? neutralValue,
        end: end ?? (begin == null ? defaultValue : neutralValue),
      );