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
Hi there. I also ran into this issue, and it seems like the issue is they didn't check to see if the bottomCardWidget was updated in their class file (I'm not sure if this was intentional or not).
I am now able to conditionally render the bottom widget by doing the following:
In the slimy_card.dart file, find the didUpdateWidget(SlimyCard oldWidget) function.
Add the following conditional in the setState function: if (widget.bottomCardWidget != null) { bottomCardWidget = widget.bottomCardWidget; } else {}
Now hard restart your app (and potentially run flutter packages get, again) and you should be able to conditionally render your bottom widget! Hope this helps.
OmarHosamCodes
added a commit
to OmarHosamCodes/SlimyCard-Animated-Flutter-Package
that referenced
this issue
Dec 3, 2023
Hello, thanks for sharing such an awesome widget.
Been trying to update the Bottom widget with data but it appears to be static, how can I go about changing it?
The text was updated successfully, but these errors were encountered: