gradient_text 1.0.2 copy "gradient_text: ^1.0.2" to clipboard
gradient_text: ^1.0.2 copied to clipboard

A Flutter Widget for displaying Text with a gradient drawn through it. Accepts TextStyle, and TextAlign so it can be used very similarly to a Text widget

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add gradient_text

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  gradient_text: ^1.0.2

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:gradient_text/gradient_text.dart';
31
likes
40
pub points
78%
popularity

Publisher

unverified uploader

A Flutter Widget for displaying Text with a gradient drawn through it. Accepts TextStyle, and TextAlign so it can be used very similarly to a Text widget

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on gradient_text