BoxEdge.uniform constructor

const BoxEdge.uniform(
  1. num size
)

This is a helper to creates a box edge with the same left, top right, and bottom widths.

Implementation

const BoxEdge.uniform(num size)
    : top = size,
      left = size,
      bottom = size,
      right = size;