superlistapp / super_sliver_list

Drop-in replacement for SliverList and ListView that can handle large amount of items with variable extents and reliably jump / animate to any item.
https://superlistapp.github.io/super_sliver_list/
MIT License
277 stars 15 forks source link

feat: add reporting of visible range #28

Closed knopp closed 6 months ago

knopp commented 6 months ago

This introduces visibleRange and unobstructedVisibleRange properties on ListController which can be used to query range of visible item indices for each SuperSliverList.

Fixes https://github.com/superlistapp/super_sliver_list/issues/23