From 0427a0d0a0988202b2041e29aa7d2cbea46fcc87 Mon Sep 17 00:00:00 2001 From: Pinkesh Date: Fri, 11 Sep 2026 11:30:50 +0530 Subject: [PATCH] Update Flippable Card Widget --- .../widgets/built-in-widgets/flippablecard.md | 111 +++++------------- 1 file changed, 30 insertions(+), 81 deletions(-) diff --git a/docs/resources/ui/widgets/built-in-widgets/flippablecard.md b/docs/resources/ui/widgets/built-in-widgets/flippablecard.md index 66d8cc64..d554a932 100644 --- a/docs/resources/ui/widgets/built-in-widgets/flippablecard.md +++ b/docs/resources/ui/widgets/built-in-widgets/flippablecard.md @@ -3,22 +3,21 @@ slug: flippable-card title: Flippable Card tags: [Layout Elements, Components] keywords: [Flippable Card, Layout Element, Component, Widget] -description: Learn how to add Flippable Card widget in your FlutterFlow app. +description: Learn how to add and customize a FlippableCard widget in your FlutterFlow app. --- -# FlippableCard -The FlippableCard widget provides the visual interaction called 'Flip card animation'. Initially, it shows the front side of the card, and when you tap on it, it shows the back side. +# Flippable Card -You could use this widget to show and hide details of an item (e.g., credit card, online course card, coupon card, etc.) +The **FlippableCard** widget displays two sides of content in the same space. It shows the front side by default and flips to the back side when a user taps it. You can use it for flashcards, product details, coupon terms, or other content that users can reveal on demand.
- -
-

- -### Changing flip animation duration +- **Horizontal:** Flips the card from left to right or right to left. +- **Vertical:** Flips the card from top to bottom or bottom to top. -When you tap on this widget, the flip animation completes in 400ms (milliseconds). You can change this duration if you wish to make it a little faster or slower. +### Changing the Animation Duration -To change the flip animation duration: +The flip animation lasts `400 ms` by default. Set **Flip Animation Duration** to a shorter duration for a faster animation or a longer duration for a slower one. Enter the duration in milliseconds; for example, `1,000 ms` equals 1 second. -1. Select the **FlippableCard** widget from the widget tree or canvas area. -2. Move to the properties panel, and scroll down to the **Flippable Card Properties** section. -3. Find the **Flip Animation Duration** property and change the value. Note: The value should be in milliseconds (e.g., 1000ms = 1 second). +### Disabling Flip on Tap -
- -
-

+The card flips when tapped by default. Disable **Flip on Tap** if tapping the card should not switch between its front and back sides. -### Disable flip on tap +## Best Practices -By default, the card flips when you tap on it. To disable this behavior, move to the **properties panel > Flippable Card Properties** > disable **Flip on Tap** toggle. \ No newline at end of file +- Use the same dimensions for the front and back sides and test dynamic content to ensure it does not overflow or get clipped. +- Make it clear that the card is interactive by using a label, icon, or other visual cue. +- Avoid placing essential information only on the back of the card. +- Use a short animation duration so the interaction feels responsive.