搜尋套件、儲存庫與 APP 分類

套件詳情v0.2.0

flutter_tindercard

Tinder(TanTan) 卡片組件,快速在您的 Flutter 應用中實現高品質的滑動卡片組件。

近 30 天下載
261
喜歡數
145
Pub 分數
40

安裝套件

flutter pub add flutter_tindercard

套件介紹

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

flutter_tindercard 是一個 Flutter 套件,提供高品質的可滑動卡片元件,靈感來自 Tinder 和 TanTan。它讓開發者能以最少的設定快速在應用程式中實作流暢、互動式的卡片滑動功能。此套件支援直覺的手勢操作,例如左右滑動,並提供視覺反饋與動畫效果,帶來精緻的使用者體驗。非常適合用於約會應用、產品展示,或任何需要基於卡片導航的介面。

適用情境

  • 約會應用介面
  • 產品或商品發現
  • 使用者資料瀏覽
  • 互動式內容滑塊
  • 遊戲化使用者引導

主要特色

  • 流暢的滑動動畫
  • 手勢辨識左右滑動
  • 可自訂的卡片外觀
  • 即時滑動反饋
  • 與現有 Flutter 專案的輕鬆整合

適合對象

  • 開發基於滑動的使用者介面的開發者
  • 需要卡片翻轉互動的應用
  • 原型設計互動佈局
  • 帶有使用者偏好流程的手機應用程式

使用建議

  • 有限的平台特定自訂
  • 無內建資料管理
  • 需要手動處理滑動結果
  • 未針對大型資料集進行優化
  • 依賴外部動畫性能

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

flutter_tindercard

Pub Closed

Tinder/TanTan Card Widget.

Screenshots

screenshot

Getting Started

  1. Depend on it by adding this to your pubspec.yaml file: flutter_tindercard: ^x.x.x

  2. Import it: import 'package:flutter_tindercard.dart'

  3. Add TinderSwapCard in your widget layout and write the single card layout builder you need, then you get a Tinder(探探) like swap card widget!

  4. Use CardSwipeCompleteCallback for the swiped orientation and index!

  5. Use CardController to trigger swap from outside. Init a CardController as param for widget, and invoke method triggerLeft/Right of your CardController to trigger swipe!

  6. Use CardDragUpdateCallback to get swiping card's detail.

Example

See Here

Async Example

See Here

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。