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

flutter_web_base demo gif

Installation

Add the package to your dependencies:

dependencies:
  shrink_animation_buttons: ^1.0.0

OR

dependencies:
  shrink_animation_buttons:
    git: https://github.com/Abhishek-165/shrink_animation_buttons.git

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';

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 :)