Closed zhengbomo closed 4 years ago
i try
_scrollController.scrollToIndex(currentIndex + addCount, duration: Duration.zero, preferPosition: AutoScrollPosition.begin);
but i does not work
given Duration.zero will cause scrollController throw exception. you can try taking it at least Duration(microseconds: 1).
Duration.zero
Duration(microseconds: 1)
i try
but i does not work