CustomEffect constructor

const CustomEffect({
  1. required CustomEffectBuilder builder,
  2. Duration? delay,
  3. Duration? duration,
  4. Curve? curve,
  5. double? begin,
  6. double? end,
})

Implementation

const CustomEffect({
  required this.builder,
  Duration? delay,
  Duration? duration,
  Curve? curve,
  double? begin,
  double? end,
}) : super(
        delay: delay,
        duration: duration,
        curve: curve,
        begin: begin ?? 0.0, // Should this use "smart" defaults?
        end: end ?? 1.0,
      );