Interval constructor

const Interval(
  1. double begin,
  2. double end, {
  3. Curve curve = Curves.linear,
})

Creates an interval curve.

Implementation

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