ListenEffect constructor

const ListenEffect({
  1. Duration? delay,
  2. Duration? duration,
  3. Curve? curve,
  4. double? begin,
  5. double? end,
  6. required ValueChanged<double> callback,
  7. bool clamp = true,
})

Implementation

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