simple_gradient_text 1.0.1 copy "simple_gradient_text: ^1.0.1" to clipboard
simple_gradient_text: ^1.0.1 copied to clipboard

outdated

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

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:simple_gradient_text/simple_gradient_text.dart';

// Main method, init the app
void main() {
  runApp(MyApp());
}

// Main app container
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Gradient Text',
      home: Scaffold(
        body: Center(
          child: GradientText(
            'Gradient Text Example',
            style: TextStyle(
              fontSize: 40.0,
            ),
            colors: [
              Colors.blue,
              Colors.red,
              Colors.teal,
            ],
          ),
        ),
      ),
    );
  }
}
81
likes
0
pub points
98%
popularity

Publisher

verified publisheralexastudillo.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)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on simple_gradient_text