FLUTTER ECOSYSTEM

gesture_x_detector

一個輕量級的手勢檢測器,支援多種類型(點擊、雙擊、縮放、長按、移動),所有回調可同時使用

最新版本
1.1.1
近 30 天下載
1.1萬
喜歡數
63
Pub 分數
150

Package Overview

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

套件概覽

GestureXDetector 是一個輕量級的 Flutter 套件,可同時偵測多種手勢,包括點擊、雙擊、縮放、長按和移動。它為每種手勢類型提供靈活的回呼支援,讓開發者能以統一的方式回應複雜的使用者互動。專為跨平台使用設計,可在 Android、iOS、Web、macOS、Windows 和 Linux 上順暢運作。此套件非常適合需要響應式觸控反饋卻又不增加複雜度的互動式介面。

適用情境
  • 互動式繪圖應用
  • 可縮放的圖像查看器
  • 拖曳與放置介面
  • 多點觸控手勢識別
  • 基於手勢的自定義控制
主要特色
  • Supports multiple gestures at once
  • All callbacks available simultaneously
  • Lightweight and efficient
  • Cross-platform compatibility
  • Simple API integration
  • Real-time gesture detection
適合對象
  • Developers building interactive UIs
  • Apps requiring multi-touch input
  • Projects needing responsive gesture handling
  • Cross-platform touch applications
  • Prototyping gesture-heavy features
使用建議
  • 可能需要仔細管理重疊手勢的狀態
  • 對高頻率手勢事件的效能影響
  • 未針對極其複雜的手勢鏈進行優化
  • 有限的內建手勢組合
  • 最適合中等到高階的手勢邏輯
支援平台AndroidiOSWebmacOSWindowsLinux

安裝套件

flutter pub add gesture_x_detector

所屬分類

原始碼儲存庫

相關專案