getEdgeValues static method
Implementation
static EdgeValues getEdgeValues(EdgeValue? edgeValue, BoxConstraints constraints) {
final top = getSize(edgeValue?.top ?? edgeValue?.vertical ?? edgeValue?.all, constraints.maxHeight);
final bottom = getSize(edgeValue?.bottom ?? edgeValue?.vertical ?? edgeValue?.all, constraints.maxHeight);
final left = getSize(edgeValue?.left ?? edgeValue?.horizontal ?? edgeValue?.all, constraints.maxWidth);
final right = getSize(edgeValue?.right ?? edgeValue?.horizontal ?? edgeValue?.all, constraints.maxWidth);
return EdgeValues(left: left, top: top, right: right, bottom: bottom);
}