FLUTTER ECOSYSTEM

drag_down_to_pop

支援拖曳向下滑動以關閉的頁面轉場效果。

drag_down_to_pop 封面
最新版本
1.0.0
近 30 天下載
103
喜歡數
29
Pub 分數
140

Package Overview

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

套件概覽

一個 Flutter 套件,可啟用下拉返回頁面的拖曳手勢,允許使用者透過向下拖動螢幕來導航返回。它透過提供直覺且流暢的方式關閉頁面,從而提升使用者體驗,特別適用於全螢幕或沉浸式介面。此套件支援所有主要平台,包括 Android、iOS、Web、macOS、Windows 和 Linux,確保在各種裝置上行為一致。它與 Flutter 的 Navigator 無縫整合,並可與標準頁面路由搭配使用。

適用情境
  • Immersive full-screen views
  • Custom back gestures in modal dialogs
  • Enhanced navigation in card-based UIs
  • Smooth dismissal of bottom sheets
  • Interactive onboarding flows
  • Gesture-driven app navigation
主要特色
  • Drag-down-to-pop gesture support
  • Cross-platform compatibility
  • Seamless integration with Navigator
  • Minimal setup required
  • Supports custom animation curves
  • Works with nested navigators
適合對象
  • Developers building gesture-rich apps
  • Designers seeking intuitive navigation
  • Apps with full-screen content
  • Modal and overlay interfaces
  • Mobile-first applications
使用建議
  • May conflict with other vertical gesture detectors
  • Requires careful handling in nested navigators
  • Not ideal for scrollable content with vertical swipes
  • Limited customization for complex animations
  • Best suited for single-level navigation stacks
支援平台AndroidiOSWebmacOSWindowsLinux

安裝套件

flutter pub add drag_down_to_pop

所屬分類

原始碼儲存庫

相關專案

暫無相關資料。