OffsetAnimation constructor

OffsetAnimation(
  1. Animation<double> parent
)

Implementation

OffsetAnimation(Animation<double> parent)
  : super(
      parent: parent,
      curve: const Interval(0.4, 1.0, curve: Curves.easeInOutCubicEmphasized),
      reverseCurve: Interval(
        0,
        0.2,
        curve: Curves.easeInOutCubicEmphasized.flipped,
      ),
    );