Is it possible to trigger an action when the slide is scrolled to full extent? (like Gmail)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 22/100
Línea de trabajo
The request is about the Slidable widget's swipe-extent behaviour: firing a callback when the drag reaches full extent without dismissing the item. Start from how Slidable exposes its action panes and drag extent, and check whether an existing callback or extent-ratio hook already covers this. Done means a clear answer on whether the behaviour is achievable with the current API, or a proposed API change with maintainer agreement; the thread is a single unanswered question, so expect design discussion first.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hello @letsar & guys that want to help!
First, congratulations on developing such a wonderful library of "flutter_slidable", that's exactly what I personally need.
Now, let's go to the question.
Is it possible to configure an action to be automatically triggered when we scroll the slide until the end?
Important Note: I don't want to remove/delete the item that I scrolled, I just wanna trigger an action on the item that I scrolled.
On Gmail for example, if we scroll the slide to the right at full extent, it automatically execute the action to Archive that email message.
https://github.com/letsar/flutter_slidable/assets/7637806/c37a4c53-4862-4399-ad6b-28ac73721284
↑ However, as we can see on the above video, doing that in gmail removes the item that is scrolled and I don't want that. I want the item to remain there visible and execute an action on that item.
How can I do that with the flutter_slidable widget?
Thank you very much for your time and support in case you answer that! 👏
- Lenguaje dominante
- Dart
- Estrellas
- 2.9k
- Forks
- 646
- Merge medio
- 5 min
- PR fusionados (30 d)
- 9
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de letsar/flutter_slidable
-
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
letsar/flutter_slidable#549 ·
Los mantenedores suelen responder en 1 día
-
Lock action-pane intent for a continuous drag until neutral settlePosiblemente ocupada @lukemmtt la tomó hace 196 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
letsar/flutter_slidable#546 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
letsar/flutter_slidable#541 ·
Los mantenedores suelen responder en 1 día
-
Example is not runnable on androidPosiblemente ocupada @akhil-ge0rge la tomó hace 352 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 18/100
letsar/flutter_slidable#540 ·
Los mantenedores suelen responder en 1 día
-
Dismissible pane customizationAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
letsar/flutter_slidable#535 ·
Los mantenedores suelen responder en 1 día
Todos los issues de letsar/flutter_slidable
Issues similares
-
desktop linux photos
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
MaikuB/flutter_local_notifications#2866 ·
Los mantenedores suelen responder en 1 día
-
area: docs good first issue priority: P1 size: S
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
cuesoftinc/apparule#463 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
madeofpendletonwool/PinePods#1078 ·
Los mantenedores suelen responder en 1 día
-
Remove cachet from all linksAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
carp-dk/cognition_package#40 ·