RistoShimmer.light constructor
RistoShimmer.light({})
A pre-configured shimmer for light-themed interfaces.
Implementation
factory RistoShimmer.light({
Key? key,
required Widget child,
Duration duration = const Duration(milliseconds: 1500),
}) {
return RistoShimmer(
key: key,
baseColor: Colors.grey.shade200,
highlightColor: Colors.white,
duration: duration,
child: child,
);
}