SpacedList.slivers constructor
Creates a GappedSlivers with spacing between slivers.
The spacing
parameter defines the size of the gap between slivers.
It must be non-null and positive.
The optional color
parameter is useful for debugging to visualize
where gaps are placed.
Implementation
factory SpacedList.slivers({
required double spacing,
required List<Widget> slivers,
Color? color,
}) =>
GappedSlivers(spacing: spacing, slivers: slivers, color: color);