Skip to content
pubscout

flip_card

0.7.0, released 4 years ago by brunojurkovic.com

A Flutter component that provides a flip card animation for showing and hiding content.

WASM-readyRepository archived
$ flutter pub add flip_card
Source repository

What it does

Provides a widget that can flip horizontally or vertically to reveal its back side. It supports touch-based flipping, programmatic control via a controller, auto-flipping after a delay, and hint animations.

AI-written summary of version 0.7.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to create product cards with hidden details revealed by flipping.
  • You need interactive flashcards or memory game elements.
  • You require a card that flips automatically or programmatically.

Skip it when

  • You need complex physics-based multi-card gestures or non-card layout animations.
  • You are building game-engine specific flip behaviors.

Strengths

  • Easy to implement with declarative syntax.
  • Supports both horizontal and vertical flip directions.
  • Provides a controller to handle flipping programmatically without global keys.
  • Includes auto-flip and hint animation capabilities.

Weaknesses

  • Limited to card-flipping animation use cases.
  • Complex card resizing illusions require correct configuration of the fill options.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
FlipCard(
  fill: Fill.fillBack,
  direction: FlipDirection.HORIZONTAL,
  side: CardSide.FRONT,
  front: Container(
    child: Text('Front'),
  ),
  back: Container(
    child: Text('Back'),
  ),
);

Alternatives

Packages that do the same job and could replace flip_card.