merge static method

BoxEdge? merge(
  1. BoxEdge? x,
  2. BoxEdge? y
)

Merge the two box edge sizes and return the result. See Style.merge for more information.

Implementation

static BoxEdge? merge(BoxEdge? x, BoxEdge? y) {
  if (x == null) return y;
  if (y == null) return x;
  return BoxEdge._merge(x, y);
}