Skip to main content

shimmer_text 0.0.1 copy "shimmer_text: ^0.0.1" to clipboard
shimmer_text: ^0.0.1 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.

A customizable Flutter widget that adds a smooth shimmer effect to text.
Perfect for headings, titles, or adding a premium animated look to your appโ€™s UI.
Supports custom colors, font, size, letter spacing, and animation duration.

โœจ Features #

  • ๐Ÿš€ Adds a smooth shimmer animation to any text
  • ๐ŸŽจ Fully customizable:
    • text โ†’ your string
    • textSize โ†’ default: 14
    • textColor โ†’ default: Colors.white
    • letterSpacing โ†’ default: 1
    • textFamily โ†’ choose your font
    • shimmerColors โ†’ pass your own gradient colors
    • duration โ†’ control animation speed
  • ๐ŸŽญ Works with any font family
  • โšก Lightweight and easy to use
  • ๐Ÿ“ฑ Perfect for headings, titles, loading states, or premium effects

๐Ÿ“ธ Preview #

ShimmerText Dark Mode ShimmerText Light Mode ShimmerText

๐Ÿ› ๏ธ Getting started #

Prerequisites #

  • โœ… Flutter SDK installed (latest stable version recommended)
  • โœ… A working Flutter project (flutter create my_app)

Installation #

Add this package to your pubspec.yaml:

dependencies:
  shimmer_text:
    path: ../shimmer_text   # if using locally
    # OR
    shimmer_text: ^1.0.0    # once published to pub.dev

## ๐Ÿš€ Usage

Hereโ€™s a 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),
          ),
        ),
      ),
    );
  }
}


```dart
const like = 'sample';

๐Ÿ“ข Additional Information #

  • ๐Ÿ’ก More info: This package is built for adding a simple yet powerful shimmer effect to text.
  • ๐Ÿค Contributing: Contributions are welcome! Feel free to open a PR if youโ€™d like to add new features or fix bugs.
  • ๐Ÿ› Reporting issues: Found a bug or want to request a feature? Please open an issue on GitHub Issues.
  • ๐Ÿ“ฌ Support: You can reach out to the maintainer by opening issues, discussions, or contacting via GitHub profile.
  • ๐Ÿ”ฎ Future plans: Upcoming improvements may include shimmer directions, multiple gradients, and built-in presets.
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