k0shk0sh / shimmer_animation

A shimmer animation module for flutter framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shimmer_animation

pub package

This is a new shimmer animation widget that can help you bring simple yet beautiful animations to your project with ease.

How to use

Add shimmer_animation to pubspec.yaml of your project:

dependencies:
  shimmer_animation: ^0.0.4

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
    child: Container(
      color: Colors.deepPurple,
    ),
  ),

A preview of this:

Shimmer Animation

License

MIT License.

About

A shimmer animation module for flutter framework

License:MIT License


Languages

Language:Dart 85.5%Language:Objective-C 12.2%Language:Java 2.2%