gradient_icon library
A Flutter library for creating gradient icons.
The gradient_icon library provides a GradientIcon widget that allows you to display icons with a gradient effect.
It utilizes the CustomPaint widget to paint the icon with a gradient shader, providing a visually appealing representation.
Usage:
- Import the
gradient_iconlibrary. - Use the
GradientIconwidget by providing theicon,gradient, and optionally thesizeparameters.icon: The IconData representing the desired icon.gradient: The Gradient object defining the gradient colors and stops.size: The size of the icon (default is 25).
- Embed the
GradientIconwidget within your UI to display the gradient icon.
Note: This library requires the flutter package.
Classes
- GradientIcon
- A widget for displaying icons with a gradient effect.