FadedSlideAnimation constructor
FadedSlideAnimation({
- Key? key,
- required Widget child,
- required Offset beginOffset,
- required Offset endOffset,
- Duration fadeDuration = const Duration(milliseconds: 1000),
- Duration slideDuration = const Duration(milliseconds: 500),
- Curve fadeCurve = Curves.decelerate,
- Curve slideCurve = Curves.easeInOutSine,
- 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);