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

A Dart package providing utilities or widgets for pixelated shimmer effects.

pixelated_shimmer #

pub package License: BSD-3-Clause

A Dart package providing utilities or widgets for pixelated shimmer effects.

Demo

Pixelated Shimmer Demo

Features #

  • Displays images with a pixelated reveal effect.
  • Provides a customizable animated pixelated placeholder/shimmer.
  • Supports network images and other image providers.
  • Configurable pixel size, animation speed, colors, and more.

Installation #

Add pixelated_shimmer to your pubspec.yaml dependencies:

dependencies:
  flutter:
    sdk: flutter
  pixelated_shimmer: ^0.0.1 # Replace with the latest version

Then run flutter pub get.

Usage #

Import the package:

import 'package:pixelated_shimmer/pixelated_shimmer.dart';

Use the PixelatedShimmer widget:

PixelatedShimmer(
  imageProvider: NetworkImage('YOUR_IMAGE_URL_HERE'),
  width: 300,
  height: 300,
  pixelSize: 12.0,
  borderRadius: BorderRadius.circular(8),
  fit: BoxFit.cover,
)

For a more complete example, see the example directory in this repository.

License #

This package is licensed under the BSD 3-Clause License - see the LICENSE file for details.

0
likes
160
points
34
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart package providing utilities or widgets for pixelated shimmer effects.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, image

More

Packages that depend on pixelated_shimmer