Inconsistent motion behavior

Abierto
#410 0 comentarios 1 reacción 0 asignados Ver en GitHub

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
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
flutter
Área
mobile

Línea de trabajo

The report concerns the start and end panes of the Slidable widget when used with CustomSlidableAction and DismissiblePane, and the motion appears to be ignored on both. Begin by reproducing the report with identical start and end pane content and checking which motion widget is actually applied to each pane. Done means both panes honour the chosen motion, with a test covering each pane. The issue has no comments and no maintainer response, so confirm the scope with a maintainer first.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Hello, thanks for a great library.

I'm having an issue when using the CustomSlidableAction to place my own widgets as Slidable content. I'm using the exact same code for both start and end panes, but for some reason the start pane motion behaves differently compared to the end pane. I will add some images to explain:

leftpane

The white area is the Slidable child content, and the blue/pink areas are the start/end panes. Here you can see the startPane behaves like a StretchMotion with the icon being revealed from under Slidable child.

rightpane

On the endPane, you can see that it behaves as a ScrollMotion pane, with the icon being pulled in from "out of the screen".

In both cases, the motion is specified as ScrollMotion (this is what I'm aiming for), and I would mention that no matter what motion I specify, the behavior on both panes does not change.

For some more context, I have only one CustomSlidableAction child in both panes, and I'm implementing the component using DismissiblePane to have a single action on each pane when sliding the whole way ("dismissing").

Please let me know if there's any other info I could provide. Thanks!

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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de letsar/flutter_slidable

Todos los issues de letsar/flutter_slidable

Issues similares

Más issues de Dart

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.