https://github.com/davigmacode/flutter_animated_icon_theme
A widget that animates the icon theme data implicitly
https://github.com/davigmacode/flutter_animated_icon_theme
Last synced: about 1 month ago
JSON representation
A widget that animates the icon theme data implicitly
- Host: GitHub
- URL: https://github.com/davigmacode/flutter_animated_icon_theme
- Owner: davigmacode
- License: bsd-3-clause
- Created: 2024-03-13T08:38:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-03T23:13:52.000Z (over 1 year ago)
- Last Synced: 2025-01-21T14:21:35.701Z (6 months ago)
- Language: Dart
- Homepage: https://pub.dev/packages/animated_icon_theme
- Size: 1.12 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[](https://pub.dev/packages/animated_icon_theme)  [](https://www.buymeacoffee.com/davigmacode) [](https://ko-fi.com/davigmacode)
A widget that provides a smooth animated icon theme data implicitly.
[](https://davigmacode.github.io/flutter_animated_icon_theme)
[Demo](https://davigmacode.github.io/flutter_animated_icon_theme)
## Usage
To read more about classes and other references used by `animated_icon_theme`, see the [API Reference](https://pub.dev/documentation/animated_icon_theme/latest/).
```dart
AnimatedIconTheme(
curve: Curves.linear,
duration: const Duration(milliseconds: 200),
data: IconThemeData(
color: _color,
opacity: _opacity,
size: _size,
),
child: const Wrap(
spacing: 5,
children: [
Icon(Icons.bookmark),
Icon(Icons.favorite),
Icon(Icons.star),
],
),
)
```## Sponsoring
If this package or any other package I created is helping you, please consider to sponsor me so that I can take time to read the issues, fix bugs, merge pull requests and add features to these packages.