0 purchases
simple gradient text
gradient_text #
Requires Flutter >=3.0.0
Create gradient texts simply and quickly.
Getting Started #
Only add simple_gradient_text package to your pubspec.yaml.
dependencies:
simple_gradient_text: 1.3.0
copied to clipboard
Then run flutter get --no-example.
Note: You can add directly - run flutter pub add simple_gradient_text in your project.
Add a linear gradient text #
GradientText(
'Gradient Text Example',
style: TextStyle(
fontSize: 40.0,
),
colors: [
Colors.blue,
Colors.red,
Colors.teal,
],
),
copied to clipboard
Add a radial gradient text #
GradientText(
'Gradient Text Example',
style: TextStyle(
fontSize: 40.0,
),
gradientType: GradientType.radial,
radius: 2.5,
colors: [
Colors.blue,
Colors.red,
Colors.teal,
],
),
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.