strutAll function
Implementation
@pragma("vm:prefer-inline")
List<Widget> strutAll(List<Widget> children,
{double? width, double? height}) {
List<Widget> result = <Widget>[];
for (int i = 0; i < children.length; i++) {
result.add(children[i]);
if (i < children.length - 1) {
result.add(SizedBox(width: width, height: height));
}
}
return result;
}