Last updated:
0 purchases
gradient icon
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.9
copied to clipboard
Then run flutter pub get to fetch the package.
Usage #
Import the package into your Dart file:
import 'package:gradient_icon/gradient_icon.dart';
copied to clipboard
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,
),
copied to clipboard
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 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: [email protected]
Githube: @MohamedAshraf701
Support #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.