Inconsistent motion behavior

Aperta
#410 0 commenti 1 reazione 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
22/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
flutter
Ambito
mobile

Direzione di ricerca

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.

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

Descrizione

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!

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.