Skip to main content

swipe_select 0.1.2 copy "swipe_select: ^0.1.2" to clipboard
swipe_select: ^0.1.2 copied to clipboard

Swipe to multi-select for Flutter lists and grids: long press, edge strip or swipe across, with auto-scroll. ListView, GridView, slivers, chat and horizontal lists.

0.1.2 #

  • README: links to the React Native, SwiftUI and Jetpack Compose versions.

0.1.1 #

  • Shorter package description (pub.dev limit is 180 characters).
  • README: iOS and Android recordings side by side.

0.1.0 #

First public release.

  • SwipeSelect widget + SwipeSelectItem + SwipeSelectController
  • Activation: edge strip (start / end), long press, swipe across; combine several with ActivationWhen (always / selectionMode / idle)
  • Works with ListView, GridView, CustomScrollView slivers; reverse (chat) and horizontal lists; items of any size
  • Auto-scroll that ramps up towards the edge
  • Moving back restores the selection from gesture start
  • Non-selectable items, forced selection mode, onChanged once per gesture
  • Data changes mid-gesture are remapped by key
  • SwipeSelectItem.builder rebuilds only rows whose selection changed
  • controller.selected is an unmodifiable view (no copying); controller.autoScrollDirection for highlighting the edge zone
  • Range bookkeeping is O(Δ) per step — long ranges (thousands of rows) stay cheap
0
likes
0
points
161
downloads

Publisher

unverified uploader

Weekly Downloads

Swipe to multi-select for Flutter lists and grids: long press, edge strip or swipe across, with auto-scroll. ListView, GridView, slivers, chat and horizontal lists.

Repository (GitHub)
View/report issues

Topics

#selection #gesture #listview #gridview #multi-select

License

unknown (license)

Dependencies

flutter

More

Packages that depend on swipe_select