Skip to main content

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

A customizable Flutter widget that adds a smooth shimmer animation effect to your text. Perfect for loading screens, headings, and eye-catching titles.

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 #

ShimmerText Dark Mode ShimmerText Light Mode ShimmerText

## ๐Ÿ› ๏ธ 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!

1
likes
140
points
128
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A customizable Flutter widget that adds a smooth shimmer animation effect to your text. Perfect for loading screens, headings, and eye-catching titles.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on shimmer_text