Add loop
maksimivanchuk opened this issue · 4 comments
maksimivanchuk commented
Please, add loop for SmoothPageIndicator.
I can make loop in scroll page view, like that
PageView.builder(
__controller: pageController,
__ onPageChanged: (int page) {},
itemBuilder: (context, index) {
return _children[index % _children.length];
},
),
but for SmoothPageIndicator is not available .
codenashwan commented
any solution ?
Milad-Akarie commented
@maksimivanchuk @codenashwan done in v 1.0.0
alejandrocoding commented
Hi @Milad-Akarie and thanks for this lib.
Quick question, is there any way to disable the loop? I just want to get to the latest and not be able to rotate or move to first.
Thanks,
hugoviktor commented
to disable the loop remove the property itemCount of the pageview.