get_shimmer 0.0.6 copy "get_shimmer: ^0.0.6" to clipboard
get_shimmer: ^0.0.6 copied to clipboard

A package to add getX shimmer effect for Flutter projects

A small GetX-friendly Shimmer widget for Flutter.

This package provides a lightweight Shimmer widget built using Getx for controller lifecycle and simple configuration. It uses a ShaderMask under the hood to render an animated gradient over a child widget.

Features #

Features

  • Shimmer effect using ShaderMask and AnimationController.
  • Uses Get.put for controller lifecycle, keeping widget code concise.

Getting started #

Getting started

Add get_shimmer to your pubspec.yaml and import it:

import 'package:get_shimmer/get_shimmer.dart';

Usage #

Usage example

// Using the convenience constructor demonstrated in the example
GetShimmer.fromColors(
   // baseColor: Colors.grey.shade300, 
   // highlightColor: Colors.grey.shade100, 
    child: Container(
        height: 200,
        width: double.infinity,
        color: Colors.white,
        ),
);

Tip: set enabled: false to show the static placeholder without animation (useful in tests or when you want to conditionally disable shimmer).

const like = 'sample';

Additional information #

Contributing

Contributions are welcome. Please open issues or PRs on the repository.

get_shimmer #

23
likes
160
points
18
downloads

Publisher

verified publisherhsnalidroos.dev

Weekly Downloads

A package to add getX shimmer effect for Flutter projects

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, get

More

Packages that depend on get_shimmer