Last updated:
0 purchases
shrink animation button
shrink_animation_buttons
Create Shrink Animation Container using Flutter 💙
Create Shrink Animation Card using Flutter 💙
Introduction #
Shrink animation buttons refer to buttons in a user interface that, when clicked, animate to a smaller size. This type of animation is often used to provide visual feedback to the user, indicating that the button has been activated or that it is in a "pressed" state. Shrink animation buttons can be used to create a more interactive and engaging user experience.
Demo #
Installation #
Add the package to your dependencies:
dependencies:
shrink_animation_buttons: ^1.0.0
copied to clipboard
OR
dependencies:
shrink_animation_buttons:
git: https://github.com/Abhishek-165/shrink_animation_buttons.git
copied to clipboard
You can see the example app here
Finally, run dart pub get to download the package.
Projects using this library should use the stable channel of Flutter
How to use #
First you need to import the shrink_animation_button library
import 'package:shrink_animation_button/shrink_animation_button.dart';
copied to clipboard
Now you get access to all the widgets in shrink_animation_button library.
Widgets #
shrink_animation_button currently has following widgets
ShrinkAnimationContainer
ShrinkAnimationCard
Contribution #
Feel free to file an issue if you find a problem or make pull requests.
All contributions are welcome :)
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.