I think that the issue at hand is, that the SlidableAction can not have a fixed size at the moment, but always resizes based on the extentRatio. This is great in itself, but it might be beneficial for a few cases to have the extentRatio: null and set a fixed width in the `SlidableAction` / `CustomSlidableAction`

Abierto
#407 1 comentario 4 reacciones 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
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
dart, flutter
Área
frontend, mobile

Línea de trabajo

Start with SlidableAction and CustomSlidableAction and trace how extentRatio sets the size of an action pane. The issue asks for extentRatio: null with an explicit fixed width, so the first question is how the current sizing code handles a missing ratio. Check the existing tests for action pane extent before changing anything. Done means a fixed-width action renders at that width and the ratio-based behaviour still passes its tests. The thread has no maintainer decision yet, so confirm the approach in the issue first.

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

Descripción

          I think that the issue at hand is, that the SlidableAction can not have a fixed size at the moment, but always resizes based on the extentRatio. This is great in itself, but it might be beneficial for a few cases to have the extentRatio: null and set a fixed width in the `SlidableAction` / `CustomSlidableAction`

(If you think this is another issue, than the one I highjacked rn, please tell me and I open a seperate one.
I was inspired by this)

https://user-images.githubusercontent.com/77293597/142193270-4be82c05-8ad1-426d-ae79-29f929f76520.mp4

Originally posted by @jlnrrg in https://github.com/letsar/flutter_slidable/issues/228#issuecomment-971492711

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.