You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use this library but In my case I needed the flip_card to be "uncontrolled" (I'm sorry for the react.js terminology)
ie. this widget would dispatch onTap events and would react to isFront from parameters provided from the parent Widget.
Is it possible to do this with the current version of the lib? Is there any plans to support something like this?
The text was updated successfully, but these errors were encountered:
Could you please elaborate, I am not really familiar with react terminology, if you want to flip the card without touching it there is a controller built in to change it manually. Hope this solves it for you
I'm looking for something similar to what @canastro is after: Being able to provide a parameter like "isFront: true" that determines the face that is showing. You'd then use onTap callback to set the value of isFront. It would allow declaratively controlling which side is showing and avoids issues where toggling state can result in the ui being out of sync with the intended ui state.
I'm trying to use this library but In my case I needed the flip_card to be "uncontrolled" (I'm sorry for the react.js terminology)
ie. this widget would dispatch onTap events and would react to
isFront
from parameters provided from the parent Widget.Is it possible to do this with the current version of the lib? Is there any plans to support something like this?
The text was updated successfully, but these errors were encountered: