SkeletonLoader.text constructor
SkeletonLoader.text({
- double width = double.infinity,
- double height = 14,
- EdgeInsets? margin,
- Key? key,
Creates a text line skeleton
Implementation
factory SkeletonLoader.text({
double width = double.infinity,
double height = 14,
EdgeInsets? margin,
Key? key,
}) {
return SkeletonLoader(
width: width,
height: height,
borderRadius: 4,
margin: margin ?? const EdgeInsets.symmetric(vertical: 4),
key: key,
);
}