nextOverlay method
void
nextOverlay()
method for next overlay
Implementation
void nextOverlay() {
currentIndex++;
removeOverlay();
if (currentIndex < initialList.length) show();
}
method for next overlay
void nextOverlay() {
currentIndex++;
removeOverlay();
if (currentIndex < initialList.length) show();
}