shimmer_animation 0.0.9+1 shimmer_animation: ^0.0.9+1 copied to clipboard
This animation widget can help you bring simple yet beutiful animations to your project with ease.
Shimmer Animation #
This is a new shimmer animation widget that can help you bring simple yet beautiful animations to your project with ease.
Examples #
An example can be found in the example directory of this repository.
A list of detailed examples can be found in this Examples Repository
Full Screen | Individual Widgets |
---|---|
How to use #
Add shimmer_animation
to pubspec.yaml
of your project:
dependencies:
shimmer_animation: ^0.0.9
Import it in your Dart code:
import 'package:shimmer_animation/shimmer_animation.dart';
Wrap any widget with Shimmer()
widget to apply animaton:
Shimmer(
duration: Duration(seconds: 3), //Default value
color: Colors.white, //Default value
enabled: true, //Default value
direction: ShimmerDirection.fromLTRB(), //Default Value
child: Container(
color: Colors.deepPurple,
),
),