Open Masaokb opened 5 years ago
@Masaokb Do you have any solution?
When ListView.builder
is used with shrinkWrap: true
, it all loses the on-demand rendering feature. In the end, it performs very inefficiently. Because shrinkWrap wants the ListView.builder to calculate all the children even if they are not on the screen.
I have tried putting SliverList
with SliverChildBuilderDelegate
inside the content property of StickyHeaderBuilder
. However, it gave this error:
A RenderStickyHeader expected a child of type RenderBox but received a child of type RenderSliverList.
So as of now, I also wonder how we can improve this package to allow it to render tens of thousands children efficiently.
any solution to this problem?
I use StickyHeader to make iOS-TableView-like UI and add
Column
of my widgets StickyHeader'scontent
. But I suppose that the bigger the size of widgets, the less its rendering performance. Is there any ways likeListView.builder
, which render just visible widgets instead of all ones?Maybe related to #3.