QudsAutoAnimatedSlide constructor

const QudsAutoAnimatedSlide({
  1. required Widget child,
  2. double xOffset = 0.7,
  3. double yOffset = 0,
  4. Curve curve = Curves.fastLinearToSlowEaseIn,
  5. Duration duration = const Duration(milliseconds: 400),
  6. Duration startAnimationAfter = const Duration(milliseconds: 10),
  7. Key? key,
})

curve the curve of the transition velocity. duration the duration of the transition, initially set to 250 ms startAnimationAfter the duration before the initially shown icon to start transit.

Implementation

const QudsAutoAnimatedSlide(
    {required this.child,
    this.xOffset = 0.7,
    this.yOffset = 0,
    this.curve = Curves.fastLinearToSlowEaseIn,
    this.duration = const Duration(milliseconds: 400),
    this.startAnimationAfter = const Duration(milliseconds: 10),
    Key? key})
    : super(key: key);