FLUTTER ECOSYSTEM

swipedetector

一個用於檢測上滑、下滑、左滑、右滑的 Flutter 套件。

最新版本
1.2.0
近 30 天下載
46
喜歡數
67
Pub 分數
5

Package Overview

根據套件公開資料產生的選型評估,僅供參考。

套件概覽

swipedetector 是一個輕量級的 Flutter 套件,專門用於檢測觸控設備上的方向性滑動——上、下、左、右。它透過提供簡潔的 API 來監聽滑動事件,簡化了手勢辨識過程,無需複雜的自訂手勢偵測器。非常適合需要直覺式觸控導航的應用程式,例如滑塊、卡片式介面或互動式教學。此套件專注於滑動檢測,因此高效且容易整合。

適用情境
  • Card flipping interfaces
  • Swipe-based navigation
  • Interactive onboarding screens
  • Gesture-driven game controls
  • Simple touch-based UI interactions
主要特色
  • Detects up, down, left, and right swipes
  • Minimal setup with clear API
  • Lightweight and focused functionality
  • No external dependencies
  • Works across all platforms
適合對象
  • Developers building touch-heavy UIs
  • Apps with swipe-based navigation
  • Simple gesture recognition needs
  • Prototyping interactive layouts
  • Educational or tutorial apps
使用建議
  • Does not support pinch or rotate gestures
  • Limited to basic swipe directions
  • No built-in animation support
  • Requires manual handling of swipe thresholds
  • Not suitable for complex multi-gesture scenarios
支援平台暫無資料

安裝套件

flutter pub add swipedetector

所屬分類

相關專案