goForward method
void
goForward()
Implementation
void goForward() {
if (this.lastShowing != widget.storyItems.last) {
animationController!.stop();
// get last showing
final _last = this.lastShowing;
if (_last != null) {
_last.shown = true;
if (_last != widget.storyItems.last) {
beginPlay();
}
}
} else {
// this is the last page, progress animation should skip to end
animationController!.animateTo(1.0, duration: Duration(milliseconds: 10));
}
}