Shimmer constructor
Shimmer({})
A shimmer effect widget.
Inspired by: https://github.com/hnvn/flutter_shimmer/blob/master/lib/shimmer.dart
Implementation
Shimmer({
super.key,
required this.child,
Color backgroundColor = _defaultBackgroundColor,
Gradient? gradient,
this.period = _defaultPeriod,
}) : gradient = gradient ?? _getDefaultGradient(backgroundColor);