FLUTTER ECOSYSTEM

ShaunRain/flutter_tindercard

Um widget de cartão Tinder(Tan Tan) construído com flutter.

Capa do projeto flutter_tindercard
Stars
193
Forks
104
Último push (UTC)
27 de jan. de 2022
Status do projeto
Ativo
ShaunRain GitHub avatar
GITHUB User

ShaunRain ↗

Who has seen the wind?

Hangzhou
LinguagensDart

Tópicos técnicos

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 3 itens
  • flutter{"sdk":"flutter"}
  • flutter_testDesenvolvimento{"sdk":"flutter"}
  • effective_dartDesenvolvimento1.2.4

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Expandir / recolher 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