Need help with flip_card?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

fedeoo
215 Stars 59 Forks BSD 3-Clause "New" or "Revised" License 24 Commits 12 Opened issues

Description

A flutter flip card

Services available

!
?

Need anything else?

Contributors list

# 182,253
solutio...
Dart
Markdow...
Shell
13 commits
# 426,304
Dart
Flutter
CSV
excel
3 commits
# 49,561
Dart
Flutter
SQLite
persist...
2 commits
# 559,700
Objecti...
Dart
Shell
1 commit

flipcard [PRs Welcome](https://github.com/fedeoo/flipcard/pulls) Pub Package

A component that provides flip card animation. It could be used for hide and show details of a product.

How to use

import 'package:flip_card/flip_card.dart';

Create a flip card. The card will flip when touched

FlipCard(
  direction: FlipDirection.HORIZONTAL, // default
  front: Container(
        child: Text('Front'),
    ),
    back: Container(
        child: Text('Back'),
    ),
);

You can also configure the card to only flip when desired by using a

GlobalKey
to toggle the cards: ```dart GlobalKey cardKey = GlobalKey();

@override Widget build(BuildContext context) { return FlipCard( key: cardKey, flipOnTouch: false, front: Container( child: RaisedButton( onPressed: () => cardKey.currentState.toggleCard(), child: Text('Toggle'), ), ), back: Container( child: Text('Back'), ), ); } ```

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.