IntervalDuration constructor
const
IntervalDuration({})
Creates a curve interval with a specific duration.
The IntervalDuration class is used to define a time interval for animations, specifying the start and end times as a fraction of the total animation duration.
This is useful for creating complex animations where different parts of the animation occur at different times.
Implementation
const IntervalDuration({
this.start,
this.end,
required this.duration,
this.curve,
});