Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 2 months 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 (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-03T23:13:52.000Z (10 months ago)
- Last Synced: 2024-04-04T00:57:42.461Z (10 months ago)
- Language: Dart
- Homepage: https://pub.dev/packages/animated_icon_theme
- Size: 1.12 MB
- Stars: 0
- Watchers: 1
- 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
[![Pub Version](https://img.shields.io/pub/v/animated_icon_theme)](https://pub.dev/packages/animated_icon_theme) ![GitHub](https://img.shields.io/github/license/davigmacode/flutter_animated_icon_theme) [![GitHub](https://badgen.net/badge/icon/buymeacoffee?icon=buymeacoffee&color=yellow&label)](https://www.buymeacoffee.com/davigmacode) [![GitHub](https://badgen.net/badge/icon/ko-fi?icon=kofi&color=red&label)](https://ko-fi.com/davigmacode)
A widget that provides a smooth animated icon theme data implicitly.
[![Preview](https://github.com/davigmacode/flutter_animated_icon_theme/raw/main/media/preview.gif)](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.