text_gradiate 0.0.2 copy "text_gradiate: ^0.0.2" to clipboard
text_gradiate: ^0.0.2 copied to clipboard

A Flutter package for creating gradient text in an easy way. This package allows you to add gradient effects to text in your Flutter app effortlessly.

Text Gradiate Package #

Version Badge License GitHub repo LinkedIn Gmail

Android iOS

A Flutter package for creating gradient text in an fastest way. This package allows you to add gradient effected text in your Flutter app effortlessly.

Features #

  • Easily create text with gradient colors.
  • Customize gradient colors to match your design.

Installation #

To use this package, add text_gradiate as a dependency in your pubspec.yaml file.

dependencies:
  text_gradiate: ^1.0.0

Then, import the package into your Dart code:

import 'package:text_gradiate/text_gradiate.dart';

Usage #

Wrap your text widget with TextGradiate and specify the desired gradient colors.

TextGradiate(
  text: Text(
    'Hello, Gradient!',
    style: TextStyle(fontSize: 24.0),
  ),
  colors: [Colors.blue, Colors.green],
)

Example #

Here's a simple example that shows how to use the TextGradiate widget:

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

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text('TextGradiate Example'),
        ),
        body: Center(
          child: TextGradiate(
            text: Text(
              'Hello, Gradient!',
              style: TextStyle(fontSize: 24.0),
            ),
            colors: [Colors.blue, Colors.green],
          ),
        ),
      ),
    );
  }
}

Support #

  • Android: Supported on SDK 16 and above.
  • iOS: Supported on iOS 11.0 and above.
  • Linux: Any Linux distribution.
  • macOS: Supported on macOS 10.14 and above.
  • Web: Supported on all web browsers.
  • Windows: Supported on all Windows versions.

44
likes
0
pub points
79%
popularity

Publisher

unverified uploader

A Flutter package for creating gradient text in an easy way. This package allows you to add gradient effects to text in your Flutter app effortlessly.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on text_gradiate