slide method

GetAnimatedBuilder slide({
  1. required OffsetBuilder offset,
  2. double begin = 0,
  3. double end = 1,
  4. Duration duration = _defaultDuration,
  5. Duration delay = _defaultDelay,
  6. ValueSetter<AnimationController>? onComplete,
  7. bool isSequential = false,
})

Implementation

GetAnimatedBuilder slide({
  required OffsetBuilder offset,
  double begin = 0,
  double end = 1,
  Duration duration = _defaultDuration,
  Duration delay = _defaultDelay,
  ValueSetter<AnimationController>? onComplete,
  bool isSequential = false,
}) {
  return SlideAnimation(
    duration: duration,
    delay: _getDelay(isSequential, delay),
    begin: begin,
    end: end,
    onComplete: onComplete,
    offsetBuild: offset,
    child: this,
  );
}