Created
May 16, 2020 10:30
-
-
Save Anirudhk07/d2be2e3cb811b4757c3bac77b3d26a92 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List<Widget> _buildPageIndicator() { | |
List<Widget> list = []; | |
for (int i = 0; i < _numPages; i++) | |
//_numPages is the number of pages in Onboarding | |
{ | |
list.add(i == _currentPage ? _indicator(true) : _indicator(false)); | |
} | |
return list; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment