Milad-Akarie / smooth_page_indicator

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

What will hapeend if my count more then 50 and more - can adjust left and right side padding or margin for AnimatedSmoothIndicator widgets ? #80

Closed anilthummar closed 2 months ago

anilthummar commented 6 months ago

@Milad-Akarie ,

What will hapeend if my count more then 50 and more , it will be set proper UI in widgets in both side - left and right ? below is my code Please suggest me how to fixed right side alignment issue.

Widget dotIndicator() => Row( mainAxisAlignment: MainAxisAlignment.center, // Align dots at the ends children: [ Flexible( // Use Flexible to prevent overflow child: AnimatedSmoothIndicator( activeIndex: currentIndex, count: widget.userBannersList!.length, effect: const ExpandingDotsEffect( dotHeight: 10, dotWidth: 10, dotColor: Colors.white, activeDotColor: MyColors.ORANGE_COLOR, spacing: 4.0, // Adjust spacing as needed ), ), ), ], ); slide_dot_issue_right_side

Milad-Akarie commented 4 months ago

@anilthummar for now if you have a big number of pages you properly should use a scrolling effect

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions