gradient_icon 2.0.0-beta-1 gradient_icon: ^2.0.0-beta-1 copied to clipboard
The Gradient Icon package is a powerful Flutter package that enables creating gradient icons effortlessly. It adds visual appeal to your app's UI by applying gradient effects to icons.
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:
dependencies:
gradient_icon: ^2.0.0
Then run flutter pub get
to fetch the package.
Usage #
Import the package into your Dart file:
import 'package:gradient_icon/gradient_icon.dart';
Use the GradientIcon
widget in your Flutter app:
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.
Examples #
You can find more usage examples in the example folder of this repository.
License #
This project is licensed under the MIT License.
Changelog #
See the CHANGELOG for a history of changes in the package.
Contributing #
Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request.
Contributing #
Contributions to the gradient_icon
package are welcome! Please read the contribution guidelines 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