Skip to main content

pusk_list 0.3.0 copy "pusk_list: ^0.3.0" to clipboard
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, separatorBuilder gets the index of the gap.
  • Fixed: the dragged item's place keeps the room of its separator.
  • Fixed: separatorBuilder got 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(...) on PuskList and PuskSliverList, with PuskDragStartListener.
  • PuskReorderItem.of(context): an item's place in the list as shown while dragging.
  • PuskListController.holdItem, moveHeldItem, heldItem, releaseHeldItem and offsetOf.
  • 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 #

  • initialPosition is 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 above obscuredInsets. Slivers after the list are taken into account from the second frame.
  • A jump lands precisely when estimatedExtent overestimates 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.
0
likes
160
points
844
downloads

Documentation

API reference

Publisher

verified publisherpusk.software

Weekly Downloads

Flutter list with key-based scroll anchoring, jumps to any item and built-in insert/remove animations.

Repository (GitHub)
View/report issues

Topics

#list #scroll #sliver #animation #chat

License

MIT (license)

Dependencies

flutter

More

Packages that depend on pusk_list