UIProShimmer.text constructor
UIProShimmer.text({})
Creates a text-like shimmer placeholder.
Implementation
factory UIProShimmer.text({
Key? key,
double? width,
double height = 14,
double borderRadius = 4,
Color? baseColor,
Color? highlightColor,
Duration? duration,
bool enabled = true,
}) {
return UIProShimmer.box(
key: key,
width: width ?? double.infinity,
height: height,
borderRadius: borderRadius,
baseColor: baseColor,
highlightColor: highlightColor,
duration: duration,
enabled: enabled,
);
}