getRightWidget method

Widget? getRightWidget()

Implementation

Widget? getRightWidget() {
  if (_animation.value.toInt() < widget.children.length - 1) {
    return widget.children[_animation.value.toInt() + 1];
  } else {
    return null;
  }
}