lines static method
A block of lines text-like bars; the last one is shorter. USkeleton.lines(3)
Implementation
static Widget lines(int lines, {double height = 12, double spacing = 8}) => Column(
crossAxisAlignment: CrossAxisAlignment.start,
spacing: spacing,
children: List<Widget>.generate(
lines,
(int i) => FractionallySizedBox(
widthFactor: i == lines - 1 && lines > 1 ? 0.6 : 1,
child: USkeleton(height: height),
),
),
);