Animation<double> get secondSlideTween => Tween<double>(begin: s0, end: targetWidth).animate( CurvedAnimation( parent: animation, curve: const Interval( 0.5, 1, curve: Curves.easeInOut, ), ), );