shimmr 0.0.1 icon indicating copy to clipboard operation
shimmr: ^0.0.1 copied to clipboard

Shimmer animations for flutter

shimmr #

A simple way to bring beautiful shimmer animations to flutter.

Shimmer animations are commonly used in loading screens or as placeholder widgets. Shimmr is easy to customize and is ready to use for iOS, Android, and Web.

Examples #

An example can be found in the example directory of this repository.

How to use #

Add shimmr to pubspec.yaml of your project:

dependencies:
  shimmr: ^0.0.1

Import it in your Dart code:

import 'package:shimmr/shimmr.dart';

Wrap any widget with Shimmr() widget to apply animaton:

  Shimmr(
    duration: Duration(seconds: 2),
    borderRadius: BorderRadius.circular(5),
    foregroundColor: Colors.grey.withAlpha(150),
    backgroundColor: Colors.transparent,
    delay: Duration(milliseconds: 200),
  ),

License #

2
likes
90
pub points
63%
popularity

Publisher

unverified uploader

Shimmer animations for flutter

Homepage

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on shimmr