shimmr 0.0.1 copy "shimmr: ^0.0.1" to clipboard
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
30
pub points
42%
popularity

Publisher

unverified uploader

Shimmer animations for flutter

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on shimmr