pusk_list 0.3.0
pusk_list: ^0.3.0 copied to clipboard
Flutter list with key-based scroll anchoring, jumps to any item and built-in insert/remove animations.
0.3.0 #
- Changed: while dragging,
separatorBuildergets the index of the gap. - Fixed: the dragged item's place keeps the room of its separator.
- Fixed:
separatorBuildergot an out-of-range index when dragging to the end. - Fixed: the drop target flickered at the last place of a separated list.
- Fixed: changes on a drop right in the item's place didn't animate.
- Fixed: items jumped by a separator when dragging to or from the end with a
transition.
0.2.0 #
- Drag-to-reorder:
reorder: PuskReorder(...)onPuskListandPuskSliverList, withPuskDragStartListener. PuskReorderItem.of(context): an item's place in the list as shown while dragging.PuskListController.holdItem,moveHeldItem,heldItem,releaseHeldItemandoffsetOf.- With a
transition, reordered items slide to their new places (moveDuration,moveCurve). - Fixed: moving the first visible item no longer scrolls the list.
0.1.2 #
initialPositionis no longer cut short by the end of the list on the first frame when the target needs the padding after it, e.g. the last item aligned aboveobscuredInsets. Slivers after the list are taken into account from the second frame.- A jump lands precisely when
estimatedExtentoverestimates the items, instead of stopping short.
0.1.1 #
- In a top-to-bottom list, an item cut by the top edge keeps its top in place when its extent changes, so its visible part no longer moves while it grows (e.g. a streamed message).
0.1.0 #
- Initial release.