gradient_icon
2.1.0, released 7 months ago by mohamedashraf.in
Applies linear, radial, and sweep gradient effects to Flutter icons.
What it does
Provides a GradientIcon widget that allows developers to easily apply customizable gradient effects to standard icons. Supports control over colors, directions, and various gradient types like linear, radial, and sweep.
AI-written summary of version 2.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display icons styled with custom gradients instead of a solid color.
- You want support for linear, radial, and sweep gradients on your UI icons.
Skip it when
- You only need standard single-color icons supported natively by Icon.
Strengths
- Supports multiple gradient types including linear, radial, and sweep gradients.
- Extremely simple API focused entirely on gradient icons.
Weaknesses
- Very narrow scope limited strictly to icons with gradients.
- Not documented for non-icon widgets.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
GradientIcon(
icon: Icons.star,
gradient: LinearGradient(
colors: [Colors.red, Colors.blue],
begin: Alignment.topLeft,
end: Alignment.bottomRight,
),
size: 30,
)Alternatives
Packages that do the same job and could replace gradient_icon.
- sbb_design_system_mobile
Official SBB design system mobile UI components and theming for Flutter apps.
80Compare - mix
A Flutter styling system that separates style definitions from widget code using a fluent API.
86Compare - iconify_design
Use icons from the Iconify.design API in Flutter applications.
62Compare - icons_flutter
Provides 14k+ additional icons across multiple icon sets for Flutter apps
66Compare