getPureMainAxisExtent static method
Implementation
static double getPureMainAxisExtent(RenderBox child) {
double marginHorizontal = 0;
if (child is RenderBoxModel) {
marginHorizontal = child.renderStyle.marginLeft.computedValue + child.renderStyle.marginRight.computedValue;
}
Size childSize = getChildSize(child) ?? Size.zero;
return childSize.width + marginHorizontal;
}