Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ビューを変更するために GestureDetector を使用しています。それは機能しますが、ユーザーが下から上ではなく左から右または右から左にスワイプしたときにのみ変更されるようにするにはどうすればよいですか...事前に感謝します
ジェスチャ処理ルールを、X 値の最小絶対差と Y 値の最大絶対差に設定できます。X 差が Y 差より大きい場合にのみジェスチャを取得するルールを追加することもできます。