FLUTTER ECOSYSTEM

astudilloalex/flutter_gradient_text

Crie textos de gradiente rápidos e simples, seja linear ou radial, você apenas decide as cores e o texto a ser exibido, muito fácil.

Capa do projeto flutter_gradient_text
Stars
13
Forks
9
Último push (UTC)
3 de jan. de 2026
Status do projeto
Ativo
astudilloalex GitHub avatar
LinguagensC++DartCMakeHTMLCSwiftKotlinObjective-C

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 3 itens
  • flutter{"sdk":"flutter"}
  • flutter_testDesenvolvimento{"sdk":"flutter"}
  • lintDesenvolvimento^2.8.0

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Expandir / recolher README

style: lint

gradient_text

Requires Flutter >=3.29.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.4.0

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

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