# LazyLoad

{% embed url="https://pub.dev/packages/shimmer" %}



## Shimmer  <a href="#shimmer" id="shimmer"></a>

[![pub package](https://img.shields.io/pub/v/shimmer.svg)](https://pub.dartlang.org/packages/shimmer) ![](https://github.com/hnvn/flutter_shimmer/workflows/unit%20test/badge.svg)

A package provides an easy way to add shimmer effect in Flutter project

![](https://github.com/hnvn/flutter_shimmer/blob/master/screenshots/loading_list.gif?raw=true) ![](https://github.com/hnvn/flutter_shimmer/blob/master/screenshots/slide_to_unlock.gif?raw=true)

### How to use  <a href="#how-to-use" id="how-to-use"></a>

```
import 'package:shimmer/shimmer.dart';

```

```
SizedBox(
  width: 200.0,
  height: 100.0,
  child: Shimmer.fromColors(
    baseColor: Colors.red,
    highlightColor: Colors.yellow,
    child: Text(
      'Shimmer',
      textAlign: TextAlign.center,
      style: TextStyle(
        fontSize: 40.0,
        fontWeight:
        FontWeight.bold,
      ),
    ),
  ),
);
```
