curved static method

Animation<double> curved(
  1. Animation<double> parent,
  2. Curve curve, {
  3. Curve? reverseCurve,
})

Wraps parent with a CurvedAnimation.

Implementation

static Animation<double> curved(
  Animation<double> parent,
  Curve curve, {
  Curve? reverseCurve,
}) =>
    CurvedAnimation(parent: parent, curve: curve, reverseCurve: reverseCurve);