https://github.com/mohamedashraf701/gradient-icon
The Gradient Icon package is a powerful Flutter package that enables creating gradient icons effortlessly.
https://github.com/mohamedashraf701/gradient-icon
colo colors dart flutter flutter-package gradient gradient-icon gradients icon icons linear-gradient package
Last synced: 5 months ago
JSON representation
The Gradient Icon package is a powerful Flutter package that enables creating gradient icons effortlessly.
- Host: GitHub
- URL: https://github.com/mohamedashraf701/gradient-icon
- Owner: MohamedAshraf701
- License: mit
- Created: 2023-06-21T16:50:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-03T21:17:57.000Z (over 1 year ago)
- Last Synced: 2025-04-28T17:09:51.440Z (5 months ago)
- Topics: colo, colors, dart, flutter, flutter-package, gradient, gradient-icon, gradients, icon, icons, linear-gradient, package
- Language: C++
- Homepage: https://pub.dev/packages/gradient_icon
- Size: 567 KB
- Stars: 20
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Gradient Icon
[](https://pub.dev/packages/gradient_icon)
A Flutter package that provides gradient icons, allowing you to apply gradient effects to your icons.
## Features
- Easily create icons with customizable gradients.
- Supports various gradient types, including linear, radial, and sweep gradients.
- Highly customizable with control over colors, directions, and more.## Installation
Add the following line to your `pubspec.yaml` file:
```yaml
dependencies:
gradient_icon: ^2.0.9
```Then run `flutter pub get` to fetch the package.
## Usage
Import the package into your Dart file:
```dart
import 'package:gradient_icon/gradient_icon.dart';
```Use the `GradientIcon` widget in your Flutter app:
```dart
GradientIcon(
icon: Icons.star,
gradient: LinearGradient(
colors: [Colors.red, Colors.blue],
begin: Alignment.topLeft,
end: Alignment.bottomRight,
),
size: 30,
),
```## Documentation
For detailed usage instructions and API documentation, please refer to the [documentation](https://pub.dev/documentation/gradient_icon/latest/).
## Examples
You can find more usage examples in the [example](example) folder of this repository.
## License
This project is licensed under the [MIT License](https://github.com/MohamedAshraf701/gradient-icon/blob/main/LICENSE).
## Changelog
See the [CHANGELOG](https://github.com/MohamedAshraf701/gradient-icon/blob/main/CHANGELOG.md) for a history of changes in the package.
## Contributing
Contributions to the `gradient_icon` package are welcome! Please read the [contribution guidelines](CONTRIBUTING.md) before submitting a pull request.
## Acknowledgements
This package was inspired by the need for gradient icons in Flutter and aims to provide an easy-to-use solution for applying gradients to icons.
## Get in touch
If you have any questions, feel free to reach out:
- Email: ashrafchauhan567@gmail.com
- Githube: [@MohamedAshraf701](https://github.com/MohamedAshraf701)# Support