Inconsistent motion behavior

オープン
#410 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
22/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
flutter
領域
mobile

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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!

主要言語
Dart
スター
2.9k
フォーク
646
平均マージ
5分
マージ済み PR(30日)
9

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

letsar/flutter_slidable のほかの issue

letsar/flutter_slidable の issue をすべて見る

似ている issue

Dart の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。