Skip to content

Commit

Permalink
⚡ Prebuild more elements on Contact list to scroll better
Browse files Browse the repository at this point in the history
  • Loading branch information
Cavitedev committed Jun 14, 2021
1 parent e2c8875 commit 9768324
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ class _AlphabetScrollViewState extends State<AlphabetScrollView> {
ListView.builder(
controller: _scrollController,
itemCount: widget.list.length,
cacheExtent: 5000,
physics: const BouncingScrollPhysics(),
itemBuilder: (context, x) {
return ConstrainedBox(
Expand Down

0 comments on commit 9768324

Please sign in to comment.