const Interval(double begin, double end, { Curve curve: Curves.linear })

Creates an interval curve.

The start and end arguments must not be null.

Source

const Interval(this.begin, this.end, { this.curve: Curves.linear });