SkeletonLoader constructor
const
SkeletonLoader({})
Creates a skeleton loader widget.
The child and isLoading parameters are required.
All other parameters have default values that can be customized.
Implementation
const SkeletonLoader({
super.key,
required this.child,
required this.isLoading,
this.baseColor = const Color(0xFFE0E0E0),
this.highlightColor = const Color(0xFFEEEEEE),
this.shimmerDuration = const Duration(milliseconds: 1500),
this.transitionDuration = const Duration(milliseconds: 300),
});