fadeIn method

GetAnimatedBuilder fadeIn({
  1. Duration duration = _defaultDuration,
  2. Duration delay = _defaultDelay,
  3. ValueSetter<AnimationController>? onComplete,
  4. bool isSequential = false,
})

Implementation

GetAnimatedBuilder fadeIn({
  Duration duration = _defaultDuration,
  Duration delay = _defaultDelay,
  ValueSetter<AnimationController>? onComplete,
  bool isSequential = false,
}) {
  assert(isSequential || this is! FadeOutAnimation,
      'Can not use fadeOut + fadeIn when isSequential is false');

  return FadeInAnimation(
    duration: duration,
    delay: _getDelay(isSequential, delay),
    onComplete: onComplete,
    child: this,
  );
}