text_gradiate
1.0.1, released 3 years ago by an unverified publisher
A Flutter package for applying gradient effects to text.
What it does
TextGradiate wraps text widgets and applies linear, radial, or sweep gradient effects easily. It allows customization of properties like colors, stops, tile modes, and gradient alignment.
AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to apply custom gradient fills to text widgets.
- You need linear, radial, or sweep gradients on text without writing custom ShaderMask code manually.
Skip it when
- You need complex text animations or rich text styling that conflicts with gradient wrapping.
Strengths
- Supports multiple gradient types (linear, radial, sweep).
- Easy to integrate by wrapping existing text widgets.
- Exposes extensive gradient customization properties like stops, transform matrices, and focal points.
Weaknesses
- Limited to applying gradients via a wrapper widget rather than native TextStyle properties.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
TextGradiate(
text: Text(
'Hello, Gradient!',
style: TextStyle(fontSize: 24.0),
),
colors: [Colors.blue, Colors.green],
gradientType: GradientType.linear,
begin: Alignment.centerLeft,
end: Alignment.centerRight,
tileMode: TileMode.clamp,
)Alternatives
Packages that do the same job and could replace text_gradiate.
- gradient_icon
Applies linear, radial, and sweep gradient effects to Flutter icons.
72Compare - mix
A Flutter styling system that separates style definitions from widget code using a fluent API.
86Compare - adaptive_theme
Dynamic light and dark theme switching with persistence for Flutter.
82Compare - control_style
Applies outer shadows, inner shadows, borders and gradients to Flutter controls and shapes.
75Compare