ShimmerText Flutter Package A customizable Flutter widget that applies a smooth shimmer animation to your textโideal for headings, titles, premium effects, or loading states. Enjoy extensive customization for colors, fonts, size, letter spacing, and animation duration.
โจ Features
๐ Smooth shimmer animation for any text
๐จ Fully customizable:
text: display your string
textSize: set font size (default: 14)
textColor: set text color (default: Colors.white)
letterSpacing: set letter spacing (default: 1)
textFamily: choose any font
shimmerColors: define your gradient colors
duration: control shimmer speed
๐ญ Compatible with all font families
โก Lightweight & simple integration
๐ฑ Ideal for headings, premium UI, loading states, and more
๐ธ Preview

## ๐ ๏ธ Getting started
Prerequisites
โ Flutter SDK (latest stable version recommended)
โ A Flutter project (flutter create my_app)
Installation Add the package to your pubspec.yaml:
text dependencies: shimmer_text: ^1.0.0 Run flutter pub get to install.
๐ Usage
Quick example:
dart import 'package:flutter/material.dart'; import 'package:shimmer_text/shimmer_text.dart';
void main() { runApp(const MyApp()); }
class MyApp extends StatelessWidget { const MyApp({super.key});
@override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( backgroundColor: Colors.black, body: const Center( child: ShimmerText( text: "Hello User!", textSize: 32, textColor: Colors.white, shiningColor: Colors.blue, letterSpacing: 2, duration: Duration(seconds: 3), ), ), ), ); } }
๐ข Additional Information
๐ก Purpose: Add a simple, visually appealing shimmer effect to any text.
๐ค Contributions: PRs are welcome! Add features or fix bugs.
๐ Issues: Found a bug or want a new feature? Submit an issue.
๐ฌ Support: Reach out through GitHub Issues or Discussions.
๐ฎ Future plans: Shimmer direction, multiple gradients, and built-in presets.
Enjoy a premium shimmer effect with full flexibility!