anchored_list library

Scroll to any index in a lazy list, instantly and without glitches.

AnchoredList.builder(
  controller: controller,
  itemCount: 100000,
  itemBuilder: (context, index) => ListTile(title: Text('Item $index')),
)

controller.jumpToIndex(84213);

Classes

AnchoredList
A lazy list that can jump to any index instantly.
AnchoredListBinding
The list-side operations a controller drives.
AnchoredListController
Drives an AnchoredList and reports what it is showing.
AnchoredListDelayedDragStartListener
Starts a drag after a long press on child.
AnchoredListDragStartListener
Starts a drag as soon as a pointer goes down on child.
AnchoredListReorder
How an AnchoredList starts a drag, as the drag listeners see it.
ItemPosition
Where one item sits in the viewport, as a fraction of viewport extent.