flutter_gradient_text

A simple Flutter widget that allows you to display text with customizable gradient effects.
Supports linear, radial, and sweep gradients out of the box.

Features

  • Apply gradient colors to text easily
  • Supports:
    • LinearGradient
    • RadialGradient
    • SweepGradient
  • Fully customizable with TextStyle

TODO: A Flutter widget that renders text with gradient styles including linear, radial, and sweep.

Getting started

TODO: A Flutter widget that renders text with gradient styles including linear, radial, and sweep.

Usage

import 'package:flutter_gradient_text/flutter_gradient_text.dart';

class GradiantText extends StatelessWidget {
  const GradiantText({super.key});
  @override
  Widget build(BuildContext context) {
    return  GradientText(
      title: "Hello Flutter!",
      type: GradientType.linear,
      colors: [Colors.purple, Colors.blue],
      style: const TextStyle(fontSize: 40, fontWeight: FontWeight.bold),
    );
  }
}

Additional information

TODO: A Flutter widget that renders text with gradient styles including linear, radial, and sweep.