FadedSlideAnimation constructor

FadedSlideAnimation({
  1. Key? key,
  2. required Widget child,
  3. required Offset beginOffset,
  4. required Offset endOffset,
  5. Duration fadeDuration = const Duration(milliseconds: 1000),
  6. Duration slideDuration = const Duration(milliseconds: 500),
  7. Curve fadeCurve = Curves.decelerate,
  8. Curve slideCurve = Curves.easeInOutSine,
  9. TextDirection textDirection = TextDirection.ltr,
})

Implementation

FadedSlideAnimation({
  Key? key,
  required this.child,
  required this.beginOffset,
  required this.endOffset,
  this.fadeDuration = const Duration(milliseconds: 1000),
  this.slideDuration = const Duration(milliseconds: 500),
  this.fadeCurve = Curves.decelerate,
  this.slideCurve = Curves.easeInOutSine,
  this.textDirection = TextDirection.ltr,
}) : super(key: key);