Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add draggable/DragDelay option to ReorderableSliverList + all other widgets #181

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CyMathew
Copy link

@CyMathew CyMathew commented Jun 23, 2023

Fixes #24
Adds a DragDelay enum option for all widgets (including ReorderableSliverList), replacing needsLongPressDraggable boolean.

I thought having an enum would be easier to understand than setting "needsLongPressDraggable" = true or false.

Could also address #133 & #35 but would need to add reference to enum in the docs.

…option

- Replaced needsLongPressDraggable boolean with DragDelay enum
- Added DragDelay option to ReorderableSliverList (short = Draggable, Long = LongPressDraggable)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dragging On Short Press for ReorderableSliverList
1 participant