Shimmer:
A package provides an easy way to add skeleton shimmer loading effect in Flutter project
How to use
import 'package:skeleton_shimmer_loading/skeleton_shimmer_loading.dart';
AppShimmerLoading(
isLoading: true,
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
Expanded(
child: ShimmerItem(
child: Container(
width: 100,
height: 20,
color: Colors.yellow,
),
),
),
ShimmerItem(
child: Container(
width: 100,
height: 20,
color: Colors.blue,
),
),
Container(
width: 100,
height: 20,
color: Colors.red,
),
],
),
);
Good luck!!!
Libraries
- skeleton_shimmer_loading
- A package provides an easy way to add skeleton loading shimmer effect to Flutter application by Nguyen Huu Thong Nghe An 2003