FLUTTER ECOSYSTEM

ShaunRain/flutter_tindercard

Flutter로 구현한 틴더(탐탐) 카드 위젯.

flutter_tindercard 프로젝트 이미지
Stars
193
Forks
104
최근 푸시(UTC)
2022. 1. 27.
프로젝트 상태
활성
ShaunRain GitHub avatar
GITHUB User

ShaunRain ↗

Who has seen the wind?

Hangzhou
언어Dart

기술 주제

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 3 개
  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}
  • effective_dart개발 의존성1.2.4

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

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