runSpacing property Null safety

double runSpacing

How much space to place between the runs themselves in the cross axis.

For example, if runSpacing is 10.0, the runs will be spaced at least 10.0 logical pixels apart in the cross axis.

If there is additional free space in the overall RenderWrap (e.g., because the wrap has a minimum size that is not filled), the additional free space will be allocated according to the runAlignment.

Defaults to 0.0.

Implementation

double get runSpacing => _runSpacing;
void runSpacing=(double value)

Implementation

set runSpacing (double value) {
  assert(value != null);
  if (_runSpacing == value) {
    return;
  }
  _runSpacing = value;
  markNeedsLayout();
}