listWrapSpacing function
The gap between consecutive items of a wrapping list: the separator's spacing when it has one. A wrapping list draws no dividers.
Implementation
double listWrapSpacing(ListViewNode node) => node.properties.hasSeparator
? math.max(0, node.properties.separatorSpacing)
: 0;