fadeIn method
Widget
fadeIn({
- Duration duration = const Duration(milliseconds: 350),
- Duration delay = Duration.zero,
- AnimationController? controller,
- bool startAnimation = true,
- bool loop = false,
- double viewPort = 0.1,
- double initialPosition = 100,
- NextFadeInVariant variant = NextFadeInVariant.fadeInLeft,
Implementation
Widget fadeIn(
{Duration duration = const Duration(milliseconds: 350),
Duration delay = Duration.zero,
AnimationController? controller,
bool startAnimation = true,
bool loop = false,
double viewPort = 0.1,
double initialPosition = 100,
NextFadeInVariant variant = NextFadeInVariant.fadeInLeft}) {
return NextFadeInAnimation(
duration: duration,
delay: delay,
controller: controller,
viewPort: viewPort,
initialPosition: initialPosition,
startAnimation: startAnimation,
variant: variant,
child: this,
);
}