draggable_list_view 1.0.4 copy "draggable_list_view: ^1.0.4" to clipboard
draggable_list_view: ^1.0.4 copied to clipboard

Draggable list view for Flutter

Draggable List View #

A custom Flutter widget that dynamically calculates item heights and supports peek-and-reveal behavior with drag-to-expand functionality. New items can be added or removed at runtime, and the list updates accordingly.

Demo #

Example

Features #

  • Dynamic Item Sizing:
    Measures and adjusts for items of varying heights.

  • Peek Preview:
    Shows a configurable number of last items (and an optional fraction of the next item) in collapsed state.

  • Drag-to-Reveal:
    User can drag the list up or down to reveal more items, smoothly transitioning between states.

  • Programmatic Control:
    Exposes a DraggableListController for expand(), collapse(), and end-reached callbacks via listener registration.

  • Automatic Updates:
    Handles changes to item count, peek settings, and preview fraction without losing measurements.

1
likes
150
points
12
downloads

Publisher

verified publisheryhdart.com

Weekly Downloads

Draggable list view for Flutter

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on draggable_list_view