ZeroSkeletonParagraph constructor
ZeroSkeletonParagraph({
- Key? key,
- SkeletonParagraphStyle style = const SkeletonParagraphStyle(),
Implementation
ZeroSkeletonParagraph({
Key? key,
this.style = const SkeletonParagraphStyle(),
}) : super(
key: key,
child: Padding(
padding: style.padding,
child: Column(
children: [
for (var i = 1; i <= style.lines; i++) ...[
ZeroSkeletonLine(
style: style.lineStyle,
),
if (i != style.lines)
SizedBox(
height: style.spacing,
)
]
],
),
),
);