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