pusk_list library
Classes
- PuskAnchoring
- How the list keeps its scroll position when items change.
- PuskExtentCache
- Measured item extents keyed by item key.
- PuskItemPosition
- Where a visible item sits in the viewport.
- PuskItemTransition
- How items appear and disappear.
- PuskList
- A scroll view with a single PuskSliverList.
- PuskListController
- Controls a PuskSliverList: jumps and animations to items, visibility.
- PuskPosition
- A scroll position expressed as an item and where it sits in the viewport.
- PuskSliverList
- A sliver list with key-based scroll anchoring and fast jumps to any item.
Typedefs
- PuskExtentEstimator = double Function(int index)
- Estimates the extent of an item that hasn't been laid out yet.
- PuskItemKeyBuilder = Object Function(int index)
-
Builds the key of the item at
index. -
PuskItemTransitionBuilder
= Widget Function(BuildContext context, Animation<
double> animation, Object key, Widget child) - Wraps an item in its insert/remove transition.
- PuskVisibleRange = ({int first, int last})
-
firstandlastindices of the items visible in the viewport.