Milad-Akarie / smooth_page_indicator

Flutter Smooth PageView indicators
MIT License
1.24k stars 147 forks source link

Required horizontal scroll for ExpandingDotsEffect #54

Closed pravin-sorigin closed 2 years ago

pravin-sorigin commented 2 years ago

Required horizontal scroll for ExpandingDotsEffect when no. of dots goes beyond screen. It works well when there are few pages. But no of pages are big then it sense like there is no indication for current page.

Milad-Akarie commented 2 years ago

Horizonal scroll is available for all effects

On Fri, Jun 3, 2022, 3:33 PM pravin-sorigin @.***> wrote:

Required horizontal scroll for ExpandingDotsEffect when no. of dots goes beyond screen. It works well when there are few pages. But no of pages are big then it sense like there is no indication for current page.

— Reply to this email directly, view it on GitHub https://github.com/Milad-Akarie/smooth_page_indicator/issues/54, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANECH6PK6EW5K5VQ33ZTWYDVNH3SRANCNFSM5XYR6A3A . You are receiving this because you are subscribed to this thread.Message ID: @.***>

pravin-sorigin commented 2 years ago
image

@Milad-Akarie You can see above image. Indicator goan overflowed out of screen horizontally but indicator is not scrolled automatically.

I've used indicator like this,

AnimatedSmoothIndicator(
                activeIndex: _carouselIndicatorIndex,
                count: widget.items.length,
                axisDirection: Axis.horizontal,
                effect: const ExpandingDotsEffect(
                  dotWidth: 5,
                  dotHeight: 5,
                  activeDotColor: AppColors.appColor0xffffb64c,
                ),
              )

Please let me know If I'm doing anything wrong?

Milad-Akarie commented 2 years ago

@pravin-sorigin I thought you were talking about direction, unfortunately, horizontal scroll is only supported by scrolling dots effect.