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`

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

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

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

評価

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

調査の方向性

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.

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

説明

          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

主要言語
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 を短くまとめたダイジェスト。