Universal Shimmer that you can construct like a Lego™
- Add dependencies to
pubspec.yaml
universal_shimmer:
git:
url: https://github.com/ampersanda/flutter_universal_shimmer.git/
- In dart file
Shimmer.fromColors(
baseColor: ShimmerColors.shimmerBase,
highlightColor: ShimmerColors.shimmerHighlight,
child: TextShimmer(),
);
Need: https://pub.dev/packages/shimmer package