flutter_page_indicator
flutter_page_indicator copied to clipboard
Page indicator for flutter, with multiple build-in layouts.
Thank you for this great package can you please add an RTL support? when the device is in RTL the animation should be from right to left and not fro...
@jzoom this is intended to be made after the other one: https://github.com/best-flutter/transformer_page_view/pull/43
Migrate to null-safety
https://dart.dev/null-safety/migration-guide Null safety comes with many advantages (which has been talked about in today's Flutter livestream), and it will probably be the default in the future. It would be appreciated...
指示器到达第三个后,往后滑动会偏移,原因应该是 if (progress > 0.5) { }else{ 这个动画在缓动期间是小于0.5的,所以这个会执行,执行大于0.5后受到index影响才会归位 问题是, 如果滑动过快 index 的数据是错乱的,只有在等待缓动结束后滑动 index 值才是正常的,这很明显不符合正常使用情况,这个问题就在这个插件上就无解了,没有办法通过判断index方式来终止此动画 }
When widget.count is 0 the resulting width is negative and throws "BoxConstraints has a minimum negative width.".
最后一个点的时候还会向右偏移一个点的距离再回到第一个
add licence https://pub.dev/packages/flutter_page_indicator