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`

Aperta
#407 1 commento 4 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
dart, flutter
Ambito
frontend, mobile

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

          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

Lingua principale
Dart
Stelle
2.9k
Fork
646
Merge medio
5m
PR unite (30g)
9

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di letsar/flutter_slidable

Tutte le issue di letsar/flutter_slidable

Issue simili

Altre issue su Dart

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.