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