Search packages, repositories and app categories

animated_icon cover
Package detailsv1.0.0

animated_icon

This package support a animated icon with some customization like color, animate, hover, callback.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
2K
Likes
119
Pub points
140

Install package

flutter pub add animated_icon

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The animated_icon package provides a customizable animated icon widget for Flutter applications. It allows developers to display icons that animate between two states, with options to customize color, animation behavior, hover effects, and callback actions. Ideal for interactive UI elements like toggle buttons or dynamic navigation indicators, it supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux. The package is lightweight and integrates seamlessly into existing Flutter projects using a simple pub add command.

Use cases

  • Interactive button icons
  • Toggle state indicators
  • Animated navigation elements
  • Hover-triggered animations
  • Customizable icon transitions

Key features

  • Dual-state animation support
  • Color customization
  • Hover effect handling
  • Callback on animation events
  • Cross-platform compatibility

Suitable for

  • UI designers seeking dynamic icons
  • Developers building interactive interfaces
  • Apps requiring visual feedback on user actions
  • Projects targeting multiple platforms
  • Simple yet engaging animations

Considerations

  • Limited to two-state animations
  • Requires careful performance tuning for complex animations
  • May need additional styling for accessibility
  • Depends on external source code for updates
  • Not suitable for highly complex animation sequences

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

animated_icon

MIT License

This package supports an animated icon with some customization. It includes an icon type, animation as well as onTap() parameters through the user to get the values as per the requirements.

Preview

Example

    AnimateIcon(
            key: UniqueKey(),
            onTap: () {},
            iconType: IconType.continueAnimation,
            height: 70,
            width: 70,
            color: Color.fromRGBO(
                Random.secure().nextInt(255),
                Random.secure().nextInt(255),
                Random.secure().nextInt(255),
                1),
            animateIcon: AnimateIcons.bell,
        );
Required parameters
onTap():

This is a callback. Through user can call anythings.

animateIcons:

This is a parameter which will send by user from enum of AnimateIcons.

iconType:

This is a parameter which will send by user from enum of IconType.

Optional parameters

Color:

This is for user can set the color for animate icon.

height:

This is for user can set the height for animate icon.

width:

This is for user can set the width for animate icon.

onHover():

This is a callback. Through user can call anythings.

Guideline for contributors

Contribution towards our repository is always welcome, we request contributors to create a pull request to the develop branch only.

Guideline to report an issue/feature request

It would be great for us if the reporter can share the below things to understand the root cause of the issue.

  • Library version
  • Code snippet
  • Logs if applicable
  • Device specification like (Manufacturer, OS version, etc)
  • Screenshot/video with steps to reproduce the issue.
Dependencies

LICENSE!

Bubble Slider is MIT-licensed.

Let us know!

We’d be really happy if you send us links to your projects where you use our component. Just send an email to sales@mindinventory.com And do let us know if you have any questions or suggestion regarding our work.

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package

No data available yet.