import 'package:flutter/animation.dart'; /// class to return a custom [Animatable] class CustomAnimatableIkki { /// SLIDE DOWN TO UP static Animatable animationOffsetY = Tween(begin: const Offset(0.0, 1.0), end: Offset.zero) .chain(CurveTween(curve: Curves.easeInOut)); /// SLIDE RIGHT TO LEFT static Animatable animationOffsetX = Tween(begin: const Offset(1.0, 0.0), end: Offset.zero) .chain(CurveTween(curve: Curves.easeIn)); /// FADE OPACITY static Animatable animationDouble = Tween(begin: 0.0, end: 1.0).chain(CurveTween(curve: Curves.bounceInOut)); }