like_animated_icon 0.0.4 copy "like_animated_icon: ^0.0.4" to clipboard
like_animated_icon: ^0.0.4 copied to clipboard

Like animation for any icon you wish for.

Features #

Animated icon that you will be able to add to your applications for getting a nice smooth effect for your likes or any other icon you wish to get a liked animation over.

Getting started #

  1. Import the package into your application
    flutter pub add like_animated_icon 
    

Usage #

For using this package you need to instantiate the widget like this.

LikeEffect(
            iconData: Icons.thumb_up_sharp,
            action: () {},
            reverseAction: () {},
          );

Parameters #

  1. iconData: Here goes the icon you would like the animation to be performed over with.
  2. action: The function to be executed after the icon is pressed.
  3. reverAction: Action to be executed if there is any reverse action when pressing over an already pressed icon.
  4. Optional iconSize:Desire size of the icon.
  5. Optional initialColor: Color to be the initial color of the icon.
  6. Optional pressedColor: Final color after the icon was already animated.

Additional information #

If you need any new features or identify any errors just raise an issue at github.

0
likes
140
points
35
downloads

Publisher

unverified uploader

Weekly Downloads

Like animation for any icon you wish for.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on like_animated_icon