simple_gradient_text 1.2.4 icon indicating copy to clipboard operation
simple_gradient_text: ^1.2.4 copied to clipboard

Create fast and simple gradient texts, whether linear or radial, you just decide the colors and the text to display, very easy.

gradient_text #

Requires Flutter >=2.5.0

Create gradient texts simply and quickly.

Getting Started #

pub package

Only add simple_gradient_text package to your pubspec.yaml.

dependencies:
  simple_gradient_text: 1.2.4

Then run flutter get.

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,
    ],
),

Flutter Gradient Text Example

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,
    ],
),

Flutter Gradient Text Example

33
likes
140
pub points
96%
popularity

Publisher

verified publisher iconalexastudillo.com

Create fast and simple gradient texts, whether linear or radial, you just decide the colors and the text to display, very easy.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.Apache-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on simple_gradient_text