draggable_range_selector 1.2.1+3 copy "draggable_range_selector: ^1.2.1+3" to clipboard
draggable_range_selector: ^1.2.1+3 copied to clipboard

Flutter widget for selecting ranges of items with draggable handles.

1.2.1+3 #

  • Rearange

1.2.1+2 #

  • Fix link of example GIF.

1.2.1+1 #

  • Updated new example GIF.

1.2.1 #

  • Optimized row snap lookup by caching each row's starting Y coordinate in memory.
  • Replaced linear row scanning with binary search (O(log n)) when resolving snap row from drag Y position.
  • Kept row-start cache in sync whenever layout/words are recalculated.

1.2.0+1 #

  • Migrated example app to the standard Flutter layout using example/lib/main.dart.
  • Removed legacy duplicate entrypoint file example/main.dart to avoid confusion.

1.2.0 #

  • Added onSelectionChanging callback to provide real-time range updates while a handle is being dragged.
  • Updated drag interaction flow so consumers can render live selection text before drag end/snap finalize.
  • Improved the calendar-style example to show real-time selected date range updates during drag.

1.1.0 #

  • Added fixedItemsPerRow to DraggableRangeSelectorConfig to support fixed-column layouts (for example, 7-day calendar rows).
  • Fixed lens mode reveal behavior while dragging so the lens layer tracks handle movement consistently.
  • Fixed first-render layout overflow by calculating grid height from the actual available width.
  • Updated drag row snap calculations to use configured cellHeight and rowSpacing instead of hardcoded values.

1.0.0+3 #

  • Fix typo in example.

1.0.0+2 #

  • Added one GIF as example usage.

1.0.0+1 #

  • Fixed pubspec.yaml description length for pub.dev compliance

1.0.0 #

  • Initial release of DraggableRangeSelector widget
  • Feature: Dynamic grid layout based on actual item widths
  • Feature: Draggable handles for intuitive range selection
  • Feature: Two display modes - transparent overlay and lens effect
  • Feature: Full customization of colors, sizes, and behavior
  • Feature: Built-in item management UI (add, edit, move items)
  • Feature: Embeddable in any parent container (dialogs, bottom sheets, columns, tabs, etc.)
  • Feature: Smooth drag interactions with visual feedback
  • Support for Flutter 3.13.0 and higher
  • Apache 2.0 License
2
likes
160
points
97
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Flutter widget for selecting ranges of items with draggable handles.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on draggable_range_selector