increment method
Implementation
void increment(
{VoidCallback? restartAnimation, VoidCallback? completeAnimation}) {
if (value == limitIndex) {
completeAnimation?.call();
onPageForward();
} else {
value++;
restartAnimation?.call();
}
}