Native Shopify Mobile App with 20 new features
Kickstart your hyperlocal marketplace in Corona pandemic with a starter guide
Android App Development
iOS App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 184.108.40.206 release ready!
Owner and Founder. Opencart
SlimyCard Animation in Flutter is just an animation that can be applied to the widgets in order to separate them into two parts.
It is basically used to create a Slime Like Animation.
color – This property helps in changing the color of the Slimy Card as per the requirement.
width – It specifies the width of the Slimy Card.
topCardWidget – It takes a custom widget that we display in Top Card.
topCardHeight – It helps to set the height of the Top Card in Animation.
bottomCardWidget – It takes a custom widget that we want to display after animating.
bottomCardHeight – It helps to set the height of the Bottom Card in Animation.
slimeEnabled – This property is set to true by default.
borderRadius – It specifies the border-radius for slimy cards.
Step -1 -> Firstly, add the slimy_card dependency in the pubspec.yaml file.
We can check the updated version of the dependency from here.
Step – 2 -> Run ‘flutter pub get‘ command.
After this, we are ready to begin with writting our code.
Here, is the code–
While running the app, you may face issue like : Cannot run with sound null safety
Its just that currently, the dependency does not support null safety so just have to run the command on your terminal on root project
We are good to go now.
Here’s the final output–
In this blog, we have discussed how to create an amazing animation just with the help of a dependency.
I hope it will help you out in understanding and getting a brief idea about it.
Thank you for reading!!
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
When I think in getting solutions for my Ecommerce Platform, I think of Webkul. They have been such a blessing in our business. We have spent thousands of dollars in support and modules from them. We love their support team. They work very closely with us, and they always go the extra mile when we need help.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.