NextSlideAnimation constructor
const
NextSlideAnimation({
- Key? key,
- required Widget child,
- Duration duration = const Duration(milliseconds: 350),
- Duration delay = Duration.zero,
- NextSlideVariant? variant = NextSlideVariant.slideInLeft,
- AnimationController? controller,
- double viewPort = 0.1,
- bool startAnimation = true,
- double initialPosition = 100,
- Key? visibilityKey,
Implementation
const NextSlideAnimation(
{Key? key,
required this.child,
this.duration = const Duration(milliseconds: 350),
this.delay = Duration.zero,
this.variant = NextSlideVariant.slideInLeft,
this.controller,
this.viewPort = 0.1,
this.startAnimation = true,
this.initialPosition = 100,
this.visibilityKey})
: super(key: key);