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.
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.
- show_up_animation
Widget that animates a child into view with optional delay and direction
56Compare - animated_size_and_fade
Fade and size transition between widgets or show/hide a widget.
88Compare - flutter_confetti
Provides confetti particle animations for Flutter apps.
68Compare - scroll_to_hide
A Flutter widget that hides or shows any child when the user scrolls.
63Compare