rive_animated_icon 1.0.2 copy "rive_animated_icon: ^1.0.2" to clipboard
rive_animated_icon: ^1.0.2 copied to clipboard

This package provides rive animated icons that can be customized to suit your preference.

RiveAnimatedIcons #

MIT License

This package provides rive animated icons that can be customized to suit your preference. It includes the riveIcon type, onTap, color parameters and others to give the user a level of control.

Icons Sample #

InShot_20240502_142027413

Example #


RiveAnimatedIcon(
    riveIcon: RiveIcon.home,
    width: 50,
    height: 50,
    color: Colors.green,
    loopAnimation: false,
    onTap: (){},
    onHover: (value){}                          
),

Required parameter #

riveIcon:

This parameter is used to define the icon type from the RiveIcon enum

Optional parameters #

width:

This parameter is used to set the icon width

height:

This parameter is used to set the icon height

color:

This parameter is used to set icon color

loopAnimation:

When this parameter is set to true the icon's animation will be on loop

onTap:

This callback is set by the user to perform actions onTap

onHover:

This callback is set by the user to perform actions onHover

License #

Rive Animated Icons is MIT-licensed

Animation credits #

All the icons available are Rive animated. I've tagged the animators, you can find them in the Rive community

  • @drawsgood
  • @Daniyar

Maintainers #

113
likes
0
pub points
86%
popularity

Publisher

unverified uploader

This package provides rive animated icons that can be customized to suit your preference.

Repository (GitHub)
View/report issues

Topics

#icons #animation

License

unknown (license)

Dependencies

flutter, rive

More

Packages that depend on rive_animated_icon