allowedChildFits function

List<SizeFit> allowedChildFits(
  1. Node? parent, {
  2. required bool horizontal,
})

The fits allowed under parent along an axis.

Implementation

List<SizeFit> allowedChildFits(Node? parent, {required bool horizontal}) => [
      for (final e in childFitOptions(parent, horizontal: horizontal).entries)
        if (e.value == null) e.key,
    ];