IntroViewModel constructor
- int currentIndex
Implementation
IntroViewModel(int currentIndex)
: this.currentIndex = currentIndex,
this.controller = PageController(
initialPage: currentIndex,
viewportFraction: 1,
);
IntroViewModel(int currentIndex)
: this.currentIndex = currentIndex,
this.controller = PageController(
initialPage: currentIndex,
viewportFraction: 1,
);