spacing property Null safety
How much space to place between children in a run in the main axis.
For example, if spacing is 10.0, the children will be spaced at least 10.0 logical pixels apart in the main axis.
If there is additional free space in a run (e.g., because the wrap has a minimum size that is not filled or because some runs are longer than others), the additional free space will be allocated according to the alignment.
Defaults to 0.0.
Implementation
double get spacing => _spacing;
Implementation
set spacing (double value) {
assert(value != null);
if (_spacing == value) {
return;
}
_spacing = value;
markNeedsLayout();
}