You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use StickyHeader to make iOS-TableView-like UI and add Column of my widgets StickyHeader's content.
But I suppose that the bigger the size of widgets, the less its rendering performance.
Is there any ways like ListView.builder, which render just visible widgets instead of all ones?
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.
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 like
ListView.builder
, which render just visible widgets instead of all ones?Maybe related to #3.
The text was updated successfully, but these errors were encountered: