duration property

  1. @override
double? duration
override

Total duration of the effect. If the duration cannot be determined, this will return null. For an infinite effect the duration is infinity.

Implementation

@override
double? get duration {
  final d = child.duration;
  return d == null ? null : d * repeatCount;
}