The problem with using a ListView.builder as a child of a ScrollView, ListView or another ListView.builder in Flutter is that it can lead to rendering all the views in the list, even if they are not currently visible on the screen. This can cause performance issues and slow down the app. Instead, it is recommended to use a single ListView.builder or use the Sliver family widgets which are designed to work together efficiently.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2021-07-30 11:00:00 +0000
Seen: 10 times
Last updated: Dec 21 '22