FadeEffect constructor

const FadeEffect({
  1. Duration? delay,
  2. Duration? duration,
  3. Curve? curve,
  4. double? begin,
  5. double? end,
})

Implementation

const FadeEffect({
  Duration? delay,
  Duration? duration,
  Curve? curve,
  double? begin,
  double? end,
}) : super(
        delay: delay,
        duration: duration,
        curve: curve,
        begin: begin ?? (end == null ? defaultValue : neutralValue),
        end: end ?? neutralValue,
      );